Skip to content

Commit b638394

Browse files
committed
Update lint versions for 1.65
1 parent 34f4326 commit b638394

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

clippy_lints/src/casts/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ declare_clippy_lint! {
593593
/// let _: *mut [u8] = std::ptr::slice_from_raw_parts_mut(ptr, len);
594594
/// ```
595595
/// [safety requirements]: https://doc.rust-lang.org/std/slice/fn.from_raw_parts.html#safety
596-
#[clippy::version = "1.64.0"]
596+
#[clippy::version = "1.65.0"]
597597
pub CAST_SLICE_FROM_RAW_PARTS,
598598
suspicious,
599599
"casting a slice created from a pointer and length to a slice pointer"

clippy_lints/src/functions/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ declare_clippy_lint! {
254254
/// Ok(())
255255
/// }
256256
/// ```
257-
#[clippy::version = "1.64.0"]
257+
#[clippy::version = "1.65.0"]
258258
pub RESULT_LARGE_ERR,
259259
perf,
260260
"function returning `Result` with large `Err` type"

clippy_lints/src/manual_instant_elapsed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare_clippy_lint! {
2727
/// let prev_instant = Instant::now();
2828
/// let duration = prev_instant.elapsed();
2929
/// ```
30-
#[clippy::version = "1.64.0"]
30+
#[clippy::version = "1.65.0"]
3131
pub MANUAL_INSTANT_ELAPSED,
3232
pedantic,
3333
"subtraction between `Instant::now()` and previous `Instant`"

clippy_lints/src/methods/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ declare_clippy_lint! {
160160
/// ```rust
161161
/// let hello = "hesuo worpd".replace(&['s', 'u', 'p'], "l");
162162
/// ```
163-
#[clippy::version = "1.64.0"]
163+
#[clippy::version = "1.65.0"]
164164
pub COLLAPSIBLE_STR_REPLACE,
165165
perf,
166166
"collapse consecutive calls to str::replace (2 or more) into a single call"
@@ -2428,7 +2428,7 @@ declare_clippy_lint! {
24282428
/// ### Known problems
24292429
///
24302430
/// The type of the resulting iterator might become incompatible with its usage
2431-
#[clippy::version = "1.64.0"]
2431+
#[clippy::version = "1.65.0"]
24322432
pub ITER_ON_SINGLE_ITEMS,
24332433
nursery,
24342434
"Iterator for array of length 1"
@@ -2460,7 +2460,7 @@ declare_clippy_lint! {
24602460
/// ### Known problems
24612461
///
24622462
/// The type of the resulting iterator might become incompatible with its usage
2463-
#[clippy::version = "1.64.0"]
2463+
#[clippy::version = "1.65.0"]
24642464
pub ITER_ON_EMPTY_COLLECTIONS,
24652465
nursery,
24662466
"Iterator for empty array"

clippy_lints/src/partialeq_to_none.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ declare_clippy_lint! {
3333
/// if f.is_some() { "yay" } else { "nay" }
3434
/// }
3535
/// ```
36-
#[clippy::version = "1.64.0"]
36+
#[clippy::version = "1.65.0"]
3737
pub PARTIALEQ_TO_NONE,
3838
style,
3939
"Binary comparison to `Option<T>::None` relies on `T: PartialEq`, which is unneeded"

clippy_lints/src/unused_peekable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ declare_clippy_lint! {
3737
/// // ...
3838
/// }
3939
/// ```
40-
#[clippy::version = "1.64.0"]
40+
#[clippy::version = "1.65.0"]
4141
pub UNUSED_PEEKABLE,
4242
nursery,
4343
"creating a peekable iterator without using any of its methods"

0 commit comments

Comments
 (0)