File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed
Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ declare_clippy_lint! {
3636 /// if vec.len() <= 0 {}
3737 /// if 100 > i32::MAX {}
3838 /// ```
39+ #[ clippy:: version = "0.0.105" ]
3940 pub ABSURD_EXTREME_COMPARISONS ,
4041 correctness,
4142 "a comparison with a maximum or minimum value that is always true or false"
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ declare_clippy_lint! {
3333 /// let x = std::f32::consts::PI;
3434 /// let y = std::f64::consts::FRAC_1_PI;
3535 /// ```
36+ #[ clippy:: version = "0.0.83" ]
3637 pub APPROX_CONSTANT ,
3738 correctness,
3839 "the approximate of a known float constant (in `std::fXX::consts`)"
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ declare_clippy_lint! {
3434 /// // Good
3535 /// a += b;
3636 /// ```
37+ #[ clippy:: version = "0.0.83" ]
3738 pub ASSIGN_OP_PATTERN ,
3839 style,
3940 "assigning the result of an operation on a variable to that same variable"
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ declare_clippy_lint! {
6060 /// # let mut b = 2;
6161 /// std::mem::swap(&mut a, &mut b);
6262 /// ```
63+ #[ clippy:: version = "0.0.83" ]
6364 pub ALMOST_SWAPPED ,
6465 correctness,
6566 "`foo = bar; bar = foo` sequence"
You can’t perform that action at this time.
0 commit comments