Skip to content

Commit 78d0a2a

Browse files
committed
Update version attributes for 1.83 lints
1 parent a19d69d commit 78d0a2a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

clippy_lints/src/manual_div_ceil.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare_clippy_lint! {
3535
/// let y: i32 = 4;
3636
/// let div = x.div_ceil(y);
3737
/// ```
38-
#[clippy::version = "1.81.0"]
38+
#[clippy::version = "1.83.0"]
3939
pub MANUAL_DIV_CEIL,
4040
complexity,
4141
"manually reimplementing `div_ceil`"

clippy_lints/src/manual_is_power_of_two.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare_clippy_lint! {
2727
/// let a: u32 = 4;
2828
/// let result = a.is_power_of_two();
2929
/// ```
30-
#[clippy::version = "1.82.0"]
30+
#[clippy::version = "1.83.0"]
3131
pub MANUAL_IS_POWER_OF_TWO,
3232
pedantic,
3333
"manually reimplementing `is_power_of_two`"

clippy_lints/src/misc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ declare_clippy_lint! {
114114
/// let _ = FooStruct{};
115115
/// }
116116
/// ```
117-
#[clippy::version = "pre 1.29.0"]
117+
#[clippy::version = "1.83.0"]
118118
pub USED_UNDERSCORE_ITEMS,
119119
pedantic,
120120
"using a item which is prefixed with an underscore"

clippy_lints/src/non_zero_suggestions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ declare_clippy_lint! {
3939
/// let r2 = x % NonZeroU64::from(y);
4040
/// }
4141
/// ```
42-
#[clippy::version = "1.81.0"]
42+
#[clippy::version = "1.83.0"]
4343
pub NON_ZERO_SUGGESTIONS,
4444
restriction,
4545
"suggests using `NonZero#` from `u#` or `i#` for more efficient and type-safe conversions"

clippy_lints/src/zombie_processes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare_clippy_lint! {
3535
/// let mut child = Command::new("ls").spawn().expect("failed to execute child");
3636
/// child.wait().expect("failed to wait on child");
3737
/// ```
38-
#[clippy::version = "1.74.0"]
38+
#[clippy::version = "1.83.0"]
3939
pub ZOMBIE_PROCESSES,
4040
suspicious,
4141
"not waiting on a spawned child process"

0 commit comments

Comments
 (0)