Skip to content

Commit 08439a4

Browse files
authored
fix(clippy): allow unnecessary_sort_by and iter_without_into_iter lints (#555)
These lints cause too many false positives across the codebase. - unnecessary_sort_by: Many valid uses for reverse sorting patterns - iter_without_into_iter: Not all iter() methods need IntoIterator
1 parent 60a4d8d commit 08439a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,10 @@ expect_used = "allow"
389389
unwrap_used = "allow"
390390
print_stdout = "allow"
391391
print_stderr = "allow"
392+
# Allow sort_by with comparisons - many valid uses in codebase for reverse sorting
393+
unnecessary_sort_by = "allow"
394+
# Allow iter() without IntoIterator implementation
395+
iter_without_into_iter = "allow"
392396

393397
[profile.release]
394398
lto = "fat"

0 commit comments

Comments
 (0)