Skip to content

Commit 6243a35

Browse files
authored
CI: bump clippy to v1.89 (#1400)
Also includes some small fixes for redundant lints
1 parent a94edb1 commit 6243a35

File tree

4 files changed

+6
-27
lines changed

4 files changed

+6
-27
lines changed

.github/workflows/workspace.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
clippy:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v5
26-
- uses: dtolnay/rust-toolchain@master
27-
with:
28-
toolchain: 1.88.0
29-
components: clippy
30-
- run: cargo clippy --all --all-features -- -D warnings
25+
- uses: actions/checkout@v5
26+
- uses: dtolnay/rust-toolchain@master
27+
with:
28+
toolchain: 1.89 # pinned to prevent breakages when new stable versions are released
29+
components: clippy
30+
- run: cargo clippy --all --all-features -- -D warnings
3131

3232
rustfmt:
3333
runs-on: ubuntu-latest

p192/src/arithmetic/scalar.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,8 @@
1010
//! Apache License (Version 2.0), and the BSD 1-Clause License;
1111
//! users may pick which license to apply.
1212
13-
#![allow(clippy::unusual_byte_groupings)]
14-
1513
#[cfg_attr(target_pointer_width = "32", path = "scalar/p192_scalar_32.rs")]
1614
#[cfg_attr(target_pointer_width = "64", path = "scalar/p192_scalar_64.rs")]
17-
#[allow(
18-
clippy::identity_op,
19-
clippy::too_many_arguments,
20-
clippy::unnecessary_cast
21-
)]
2215
mod scalar_impl;
2316

2417
use self::scalar_impl::*;

p224/src/arithmetic/scalar.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,8 @@
1010
//! Apache License (Version 2.0), and the BSD 1-Clause License;
1111
//! users may pick which license to apply.
1212
13-
#![allow(clippy::unusual_byte_groupings)]
14-
1513
#[cfg_attr(target_pointer_width = "32", path = "scalar/p224_scalar_32.rs")]
1614
#[cfg_attr(target_pointer_width = "64", path = "scalar/p224_scalar_64.rs")]
17-
#[allow(
18-
clippy::identity_op,
19-
clippy::too_many_arguments,
20-
clippy::unnecessary_cast
21-
)]
2215
mod scalar_impl;
2316

2417
use self::scalar_impl::*;

p384/src/arithmetic/scalar.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,8 @@
1010
//! Apache License (Version 2.0), and the BSD 1-Clause License;
1111
//! users may pick which license to apply.
1212
13-
#![allow(clippy::unusual_byte_groupings)]
14-
1513
#[cfg_attr(target_pointer_width = "32", path = "scalar/p384_scalar_32.rs")]
1614
#[cfg_attr(target_pointer_width = "64", path = "scalar/p384_scalar_64.rs")]
17-
#[allow(
18-
clippy::identity_op,
19-
clippy::too_many_arguments,
20-
clippy::unnecessary_cast
21-
)]
2215
mod scalar_impl;
2316

2417
use self::scalar_impl::*;

0 commit comments

Comments
 (0)