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! {
45
45
/// a.clone_from(&b);
46
46
/// }
47
47
/// ```
48
- #[ clippy:: version = "1.77 .0" ]
48
+ #[ clippy:: version = "1.78 .0" ]
49
49
pub ASSIGNING_CLONES ,
50
50
perf,
51
51
"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! {
197
197
/// pedantic = { level = "warn", priority = -1 }
198
198
/// similar_names = "allow"
199
199
/// ```
200
- #[ clippy:: version = "1.76 .0" ]
200
+ #[ clippy:: version = "1.78 .0" ]
201
201
pub LINT_GROUPS_PRIORITY ,
202
202
correctness,
203
203
"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! {
708
708
/// let a_ref = &1;
709
709
/// let a_ptr = std::ptr::from_ref(a_ref);
710
710
/// ```
711
- #[ clippy:: version = "1.77 .0" ]
711
+ #[ clippy:: version = "1.78 .0" ]
712
712
pub REF_AS_PTR ,
713
713
pedantic,
714
714
"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! {
3993
3993
/// let x: Result<u32, ()> = Ok(0);
3994
3994
/// let y = x.unwrap_or_else(|err| handle_error(err));
3995
3995
/// ```
3996
- #[ clippy:: version = "1.77 .0" ]
3996
+ #[ clippy:: version = "1.78 .0" ]
3997
3997
pub UNNECESSARY_RESULT_MAP_OR_ELSE ,
3998
3998
suspicious,
3999
3999
"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! {
4027
4027
/// needs_cstr(c"Hello");
4028
4028
/// unsafe { libc::puts(c"World".as_ptr()) }
4029
4029
/// ```
4030
- #[ clippy:: version = "1.76 .0" ]
4030
+ #[ clippy:: version = "1.78 .0" ]
4031
4031
pub MANUAL_C_STR_LITERALS ,
4032
4032
pedantic,
4033
4033
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! {
29
29
/// F: Sized + std::fmt::Debug,
30
30
/// {}
31
31
/// ```
32
- #[ clippy:: version = "1.77 .0" ]
32
+ #[ clippy:: version = "1.78 .0" ]
33
33
pub MULTIPLE_BOUND_LOCATIONS ,
34
34
suspicious,
35
35
"defining generic bounds in multiple locations"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ declare_clippy_lint! {
38
38
/// }
39
39
/// }
40
40
/// ```
41
- #[ clippy:: version = "1.77 .0" ]
41
+ #[ clippy:: version = "1.78 .0" ]
42
42
pub TO_STRING_TRAIT_IMPL ,
43
43
style,
44
44
"check for direct implementations of `ToString`"
You can’t perform that action at this time.
0 commit comments