Skip to content

Commit

Permalink
Fix imports in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Aug 19, 2024
1 parent 5d99d83 commit e53cb41
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions tests/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2584,20 +2584,24 @@ mod type_variables {
);

assert_eq!(
AssocType {
iter: iter::empty::<bool>(),
elem: None,
}
.to_string(),
format!(
"{}",
AssocType {
iter: iter::empty::<bool>(),
elem: None,
},
),
"Empty with None",
);

assert_eq!(
CollidedPathName {
item: false,
elem: Some(some_path::Item),
}
.to_string(),
format!(
"{}",
CollidedPathName {
item: false,
elem: Some(some_path::Item),
},
),
"false with Some(Item)",
);
}
Expand Down

0 comments on commit e53cb41

Please sign in to comment.