We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb830c5 commit b61ca63Copy full SHA for b61ca63
clippy_dev/src/main.rs
@@ -44,7 +44,7 @@ fn print_lints() {
44
if lint_group == "Deprecated" { continue; }
45
println!("\n## {}", lint_group);
46
47
- lints.sort_by(|a, b| a.name.cmp(&b.name));
+ lints.sort_by_key(|l| l.name.clone());
48
49
for lint in lints {
50
println!("* [{}]({}#{}) ({})", lint.name, clippy_dev::DOCS_LINK.clone(), lint.name, lint.desc);
0 commit comments