Skip to content

Commit 217ebe9

Browse files
committed
Only lint use_last
Still getting unknown lint error on use_last...
1 parent 98ecce7 commit 217ebe9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/ui/use_last.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#![warn(clippy::all)]
2-
// #![warn(clippy::use_last)]
1+
#![warn(clippy::use_last)]
32

43
fn dont_use_last() -> Option<i32> {
54
let x = vec![2, 3, 5];

0 commit comments

Comments
 (0)