about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Xie <ndrew.xie@gmail.com>2023-06-08 00:38:50 -0400
committerAndrew Xie <ndrew.xie@gmail.com>2023-06-08 00:38:50 -0400
commitf2f342adb4eeead1582470eb410186ef42395e84 (patch)
tree5c72cb35ec2244763296478300452e196da02d89
parent5a8ec9bbe7dd5fa936ad18925ed6d2e999e6f765 (diff)
downloadrust-f2f342adb4eeead1582470eb410186ef42395e84.tar.gz
rust-f2f342adb4eeead1582470eb410186ef42395e84.zip
Removed stable/unstable sort arg from into_sorted_stable_ord, fixed a few misc issues, added collect to UnordItems
-rw-r--r--clippy_lints/src/wildcard_imports.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/wildcard_imports.rs b/clippy_lints/src/wildcard_imports.rs
index b6e4cd22789..2a3d86988bb 100644
--- a/clippy_lints/src/wildcard_imports.rs
+++ b/clippy_lints/src/wildcard_imports.rs
@@ -160,7 +160,7 @@ impl LateLintPass<'_> for WildcardImports {
                     )
                 };
 
-                let mut imports = used_imports.items().map(ToString::to_string).into_sorted_stable_ord(false);
+                let mut imports = used_imports.items().map(ToString::to_string).into_sorted_stable_ord();
                 let imports_string = if imports.len() == 1 {
                     imports.pop().unwrap()
                 } else if braced_glob {