Skip to content

Commit 5bda401

Browse files
devm33Copilot
andcommitted
Fix nightly rustfmt import grouping in types.rs tests
Move `use std::collections::HashMap;` into the std import block so `cargo fmt --check` with the nightly group_imports config passes in CI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 43d7a02b-08ff-4e7d-a8c0-afa6dfbe94b0
1 parent 0584916 commit 5bda401

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5469,6 +5469,7 @@ impl Default for ExitPlanModeData {
54695469

54705470
#[cfg(test)]
54715471
mod tests {
5472+
use std::collections::HashMap;
54725473
use std::path::PathBuf;
54735474

54745475
use serde_json::json;
@@ -5485,7 +5486,6 @@ mod tests {
54855486
ensure_attachment_display_names,
54865487
};
54875488
use crate::generated::session_events::TypedSessionEvent;
5488-
use std::collections::HashMap;
54895489

54905490
#[test]
54915491
fn tool_builder_composes() {

0 commit comments

Comments
 (0)