File tree 7 files changed +10
-10
lines changed 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -418,7 +418,7 @@ declare_clippy_lint! {
418
418
/// let mut_ptr = ptr.cast_mut();
419
419
/// let ptr = mut_ptr.cast_const();
420
420
/// ```
421
- #[ clippy:: version = "1.71 .0" ]
421
+ #[ clippy:: version = "1.72 .0" ]
422
422
pub PTR_CAST_CONSTNESS ,
423
423
pedantic,
424
424
"casting using `as` from and to raw pointers to change constness when specialized methods apply"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ declare_clippy_lint! {
21
21
/// let _x = 2i32.to_ne_bytes();
22
22
/// let _y = 2i64.to_ne_bytes();
23
23
/// ```
24
- #[ clippy:: version = "1.71 .0" ]
24
+ #[ clippy:: version = "1.72 .0" ]
25
25
pub HOST_ENDIAN_BYTES ,
26
26
restriction,
27
27
"disallows usage of the `to_ne_bytes` method"
@@ -40,7 +40,7 @@ declare_clippy_lint! {
40
40
/// let _x = 2i32.to_le_bytes();
41
41
/// let _y = 2i64.to_le_bytes();
42
42
/// ```
43
- #[ clippy:: version = "1.71 .0" ]
43
+ #[ clippy:: version = "1.72 .0" ]
44
44
pub LITTLE_ENDIAN_BYTES ,
45
45
restriction,
46
46
"disallows usage of the `to_le_bytes` method"
@@ -59,7 +59,7 @@ declare_clippy_lint! {
59
59
/// let _x = 2i32.to_be_bytes();
60
60
/// let _y = 2i64.to_be_bytes();
61
61
/// ```
62
- #[ clippy:: version = "1.71 .0" ]
62
+ #[ clippy:: version = "1.72 .0" ]
63
63
pub BIG_ENDIAN_BYTES ,
64
64
restriction,
65
65
"disallows usage of the `to_be_bytes` method"
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ declare_clippy_lint! {
56
56
/// // lib.rs
57
57
/// pub mod a;
58
58
/// ```
59
- #[ clippy:: version = "1.70 .0" ]
59
+ #[ clippy:: version = "1.72 .0" ]
60
60
pub EXCESSIVE_NESTING ,
61
61
complexity,
62
62
"checks for blocks nested beyond a certain threshold"
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ declare_clippy_lint! {
72
72
/// // ...
73
73
/// }
74
74
/// ```
75
- #[ clippy:: version = "1.71 .0" ]
75
+ #[ clippy:: version = "1.72 .0" ]
76
76
pub LARGE_STACK_FRAMES ,
77
77
nursery,
78
78
"checks for functions that allocate a lot of stack space"
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ declare_clippy_lint! {
301
301
/// let val2 = 1;
302
302
/// let val3 = 1;
303
303
/// ```
304
- #[ clippy:: version = "1.69 .0" ]
304
+ #[ clippy:: version = "1.72 .0" ]
305
305
pub UNNECESSARY_LITERAL_UNWRAP ,
306
306
complexity,
307
307
"using `unwrap()` related calls on `Result` and `Option` constructors"
@@ -3328,7 +3328,7 @@ declare_clippy_lint! {
3328
3328
/// mem::take(v)
3329
3329
/// }
3330
3330
/// ```
3331
- #[ clippy:: version = "1.71 .0" ]
3331
+ #[ clippy:: version = "1.72 .0" ]
3332
3332
pub DRAIN_COLLECT ,
3333
3333
perf,
3334
3334
"calling `.drain(..).collect()` to move all elements into a new collection"
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ declare_clippy_lint! {
27
27
/// println!("Check successful!");
28
28
/// }
29
29
/// ```
30
- #[ clippy:: version = "1.71 .0" ]
30
+ #[ clippy:: version = "1.72 .0" ]
31
31
pub NEEDLESS_ELSE ,
32
32
style,
33
33
"empty else branch"
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ declare_clippy_lint! {
31
31
/// ```rust
32
32
/// let foo = String::new();
33
33
/// ```
34
- #[ clippy:: version = "1.70 .0" ]
34
+ #[ clippy:: version = "1.72 .0" ]
35
35
pub REDUNDANT_TYPE_ANNOTATIONS ,
36
36
restriction,
37
37
"warns about needless / redundant type annotations."
You can’t perform that action at this time.
0 commit comments