File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
A collection of lints to catch common mistakes and improve your [ Rust] ( https://github.com/rust-lang/rust ) code.
9
9
10
- [ There are 297 lints included in this crate!] ( https://rust-lang.github.io/rust-clippy/master/index.html )
10
+ [ There are 298 lints included in this crate!] ( https://rust-lang.github.io/rust-clippy/master/index.html )
11
11
12
12
We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~ annoy~~ help you:
13
13
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ fn index_into_last() -> i32 {
15
15
fn main ( ) {
16
16
let expected_value: i32 = 5 ;
17
17
assert_eq ! ( dont_use_last( ) , Some ( expected_value) ) ;
18
- assert_eq ! ( index_into_last( ) , 5 ) ;
18
+ assert_eq ! ( index_into_last( ) , expected_value ) ;
19
19
}
Original file line number Diff line number Diff line change
1
+ error: there should be some output to this lint but there wasn't
You can’t perform that action at this time.
0 commit comments