mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
fixup! Removed stable/unstable sort arg from into_sorted_stable_ord, fixed a few misc issues, added collect to UnordItems
This commit is contained in:
@@ -160,7 +160,7 @@ fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) {
|
||||
)
|
||||
};
|
||||
|
||||
let mut imports = used_imports.items().map(ToString::to_string).into_sorted_stable_ord();
|
||||
let mut imports = used_imports.items().map(ToString::to_string).into_sorted_stable_ord(false);
|
||||
let imports_string = if imports.len() == 1 {
|
||||
imports.pop().unwrap()
|
||||
} else if braced_glob {
|
||||
|
||||
Reference in New Issue
Block a user