File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ declare_clippy_lint! {
4545 /// a.clone_from(&b);
4646 /// }
4747 /// ```
48- #[ clippy:: version = "1.77 .0" ]
48+ #[ clippy:: version = "1.78 .0" ]
4949 pub ASSIGNING_CLONES ,
5050 perf,
5151 "assigning the result of cloning may be inefficient"
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ declare_clippy_lint! {
197197 /// pedantic = { level = "warn", priority = -1 }
198198 /// similar_names = "allow"
199199 /// ```
200- #[ clippy:: version = "1.76 .0" ]
200+ #[ clippy:: version = "1.78 .0" ]
201201 pub LINT_GROUPS_PRIORITY ,
202202 correctness,
203203 "a lint group in `Cargo.toml` at the same priority as a lint"
Original file line number Diff line number Diff line change @@ -708,7 +708,7 @@ declare_clippy_lint! {
708708 /// let a_ref = &1;
709709 /// let a_ptr = std::ptr::from_ref(a_ref);
710710 /// ```
711- #[ clippy:: version = "1.77 .0" ]
711+ #[ clippy:: version = "1.78 .0" ]
712712 pub REF_AS_PTR ,
713713 pedantic,
714714 "using `as` to cast a reference to pointer"
Original file line number Diff line number Diff line change @@ -3993,7 +3993,7 @@ declare_clippy_lint! {
39933993 /// let x: Result<u32, ()> = Ok(0);
39943994 /// let y = x.unwrap_or_else(|err| handle_error(err));
39953995 /// ```
3996- #[ clippy:: version = "1.77 .0" ]
3996+ #[ clippy:: version = "1.78 .0" ]
39973997 pub UNNECESSARY_RESULT_MAP_OR_ELSE ,
39983998 suspicious,
39993999 "making no use of the \" map closure\" when calling `.map_or_else(|err| handle_error(err), |n| n)`"
@@ -4027,7 +4027,7 @@ declare_clippy_lint! {
40274027 /// needs_cstr(c"Hello");
40284028 /// unsafe { libc::puts(c"World".as_ptr()) }
40294029 /// ```
4030- #[ clippy:: version = "1.76 .0" ]
4030+ #[ clippy:: version = "1.78 .0" ]
40314031 pub MANUAL_C_STR_LITERALS ,
40324032 pedantic,
40334033 r#"creating a `CStr` through functions when `c""` literals can be used"#
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ declare_clippy_lint! {
2929 /// F: Sized + std::fmt::Debug,
3030 /// {}
3131 /// ```
32- #[ clippy:: version = "1.77 .0" ]
32+ #[ clippy:: version = "1.78 .0" ]
3333 pub MULTIPLE_BOUND_LOCATIONS ,
3434 suspicious,
3535 "defining generic bounds in multiple locations"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ declare_clippy_lint! {
3838 /// }
3939 /// }
4040 /// ```
41- #[ clippy:: version = "1.77 .0" ]
41+ #[ clippy:: version = "1.78 .0" ]
4242 pub TO_STRING_TRAIT_IMPL ,
4343 style,
4444 "check for direct implementations of `ToString`"
You can’t perform that action at this time.
0 commit comments