File tree Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ declare_clippy_lint! {
468468 /// #[ignore = "Some good reason"]
469469 /// fn test() {}
470470 /// ```
471- #[ clippy:: version = "1.85 .0" ]
471+ #[ clippy:: version = "1.88 .0" ]
472472 pub IGNORE_WITHOUT_REASON ,
473473 pedantic,
474474 "ignored tests without messages"
Original file line number Diff line number Diff line change @@ -780,7 +780,7 @@ declare_clippy_lint! {
780780 /// let aligned = std::ptr::dangling::<u32>();
781781 /// let mut_ptr: *mut i64 = std::ptr::dangling_mut();
782782 /// ```
783- #[ clippy:: version = "1.87 .0" ]
783+ #[ clippy:: version = "1.88 .0" ]
784784 pub MANUAL_DANGLING_PTR ,
785785 style,
786786 "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! {
9393 /// ```no_run
9494 /// //! <code>[first](x)second</code>
9595 /// ```
96- #[ clippy:: version = "1.86 .0" ]
96+ #[ clippy:: version = "1.87 .0" ]
9797 pub DOC_LINK_CODE ,
9898 nursery,
9999 "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! {
6969 ///
7070 /// let result = a.saturating_sub(b);
7171 /// ```
72- #[ clippy:: version = "1.44 .0" ]
72+ #[ clippy:: version = "1.83 .0" ]
7373 pub INVERTED_SATURATING_SUB ,
7474 correctness,
7575 "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! {
778778 /// let _ = s[idx..];
779779 /// }
780780 /// ```
781- #[ clippy:: version = "1.83 .0" ]
781+ #[ clippy:: version = "1.88 .0" ]
782782 pub CHAR_INDICES_AS_BYTE_INDICES ,
783783 correctness,
784784 "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! {
3636 /// a.abs_diff(b)
3737 /// # ;
3838 /// ```
39- #[ clippy:: version = "1.86 .0" ]
39+ #[ clippy:: version = "1.87 .0" ]
4040 pub MANUAL_ABS_DIFF ,
4141 complexity,
4242 "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! {
6262 /// let mut an_option = Some(0);
6363 /// let taken = an_option.replace(1);
6464 /// ```
65- #[ clippy:: version = "1.86 .0" ]
65+ #[ clippy:: version = "1.87 .0" ]
6666 pub MEM_REPLACE_OPTION_WITH_SOME ,
6767 style,
6868 "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! {
44544454 /// values.contains(&10)
44554455 /// }
44564456 /// ```
4457- #[ clippy:: version = "1.86 .0" ]
4457+ #[ clippy:: version = "1.87 .0" ]
44584458 pub MANUAL_CONTAINS ,
44594459 perf,
44604460 "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! {
3030 /// param * 2
3131 /// }
3232 /// ```
33- #[ clippy:: version = "1.86 .0" ]
33+ #[ clippy:: version = "1.87 .0" ]
3434 pub SINGLE_OPTION_MAP ,
3535 nursery,
3636 "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! {
385385 /// ```no_run
386386 /// let right: std::borrow::Cow<'_, [u8]>;
387387 /// ```
388- #[ clippy:: version = "1.85 .0" ]
388+ #[ clippy:: version = "1.87 .0" ]
389389 pub OWNED_COW ,
390390 style,
391391 "needlessly owned Cow type"
You can’t perform that action at this time.
0 commit comments