File tree 10 files changed +10
-10
lines changed
10 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ declare_clippy_lint! {
468
468
/// #[ignore = "Some good reason"]
469
469
/// fn test() {}
470
470
/// ```
471
- #[ clippy:: version = "1.85 .0" ]
471
+ #[ clippy:: version = "1.88 .0" ]
472
472
pub IGNORE_WITHOUT_REASON ,
473
473
pedantic,
474
474
"ignored tests without messages"
Original file line number Diff line number Diff line change @@ -780,7 +780,7 @@ declare_clippy_lint! {
780
780
/// let aligned = std::ptr::dangling::<u32>();
781
781
/// let mut_ptr: *mut i64 = std::ptr::dangling_mut();
782
782
/// ```
783
- #[ clippy:: version = "1.87 .0" ]
783
+ #[ clippy:: version = "1.88 .0" ]
784
784
pub MANUAL_DANGLING_PTR ,
785
785
style,
786
786
"casting small constant literals to pointers to create dangling pointers"
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ declare_clippy_lint! {
93
93
/// ```no_run
94
94
/// //! <code>[first](x)second</code>
95
95
/// ```
96
- #[ clippy:: version = "1.86 .0" ]
96
+ #[ clippy:: version = "1.87 .0" ]
97
97
pub DOC_LINK_CODE ,
98
98
nursery,
99
99
"link with code back-to-back with other code"
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ declare_clippy_lint! {
69
69
///
70
70
/// let result = a.saturating_sub(b);
71
71
/// ```
72
- #[ clippy:: version = "1.44 .0" ]
72
+ #[ clippy:: version = "1.83 .0" ]
73
73
pub INVERTED_SATURATING_SUB ,
74
74
correctness,
75
75
"Check if a variable is smaller than another one and still subtract from it even if smaller"
Original file line number Diff line number Diff line change @@ -778,7 +778,7 @@ declare_clippy_lint! {
778
778
/// let _ = s[idx..];
779
779
/// }
780
780
/// ```
781
- #[ clippy:: version = "1.83 .0" ]
781
+ #[ clippy:: version = "1.88 .0" ]
782
782
pub CHAR_INDICES_AS_BYTE_INDICES ,
783
783
correctness,
784
784
"using the character position yielded by `.chars().enumerate()` in a context where a byte index is expected"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ declare_clippy_lint! {
36
36
/// a.abs_diff(b)
37
37
/// # ;
38
38
/// ```
39
- #[ clippy:: version = "1.86 .0" ]
39
+ #[ clippy:: version = "1.87 .0" ]
40
40
pub MANUAL_ABS_DIFF ,
41
41
complexity,
42
42
"using an if-else pattern instead of `abs_diff`"
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ declare_clippy_lint! {
62
62
/// let mut an_option = Some(0);
63
63
/// let taken = an_option.replace(1);
64
64
/// ```
65
- #[ clippy:: version = "1.86 .0" ]
65
+ #[ clippy:: version = "1.87 .0" ]
66
66
pub MEM_REPLACE_OPTION_WITH_SOME ,
67
67
style,
68
68
"replacing an `Option` with `Some` instead of `replace()`"
Original file line number Diff line number Diff line change @@ -4454,7 +4454,7 @@ declare_clippy_lint! {
4454
4454
/// values.contains(&10)
4455
4455
/// }
4456
4456
/// ```
4457
- #[ clippy:: version = "1.86 .0" ]
4457
+ #[ clippy:: version = "1.87 .0" ]
4458
4458
pub MANUAL_CONTAINS ,
4459
4459
perf,
4460
4460
"unnecessary `iter().any()` on slices that can be replaced with `contains()`"
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ declare_clippy_lint! {
30
30
/// param * 2
31
31
/// }
32
32
/// ```
33
- #[ clippy:: version = "1.86 .0" ]
33
+ #[ clippy:: version = "1.87 .0" ]
34
34
pub SINGLE_OPTION_MAP ,
35
35
nursery,
36
36
"Checks for functions with method calls to `.map(_)` on an arg of type `Option` as the outermost expression."
Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ declare_clippy_lint! {
385
385
/// ```no_run
386
386
/// let right: std::borrow::Cow<'_, [u8]>;
387
387
/// ```
388
- #[ clippy:: version = "1.85 .0" ]
388
+ #[ clippy:: version = "1.87 .0" ]
389
389
pub OWNED_COW ,
390
390
style,
391
391
"needlessly owned Cow type"
You can’t perform that action at this time.
0 commit comments