diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2024-04-11 17:35:11 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2024-04-11 18:21:58 +0200 |
commit | 7c996c6bc456c2acd55f742e98bc86a193c18552 (patch) | |
tree | 79cb38faba56cd8eb2b0d97cdb3d2ab938231b66 | |
parent | 752f57325968be9a43b3cef3a0f09ab0885c5d34 (diff) |
ci: Update clippy to Rust 1.70.0.
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | openpgp/src/crypto/mpi.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65ceed36..d2d3c690 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -107,7 +107,7 @@ clippy: image: 192.168.122.1:5000/sequoia-pgp/build-docker-image/rust-stable-prebuild:latest before_script: - !reference [.before_script, start] - - rustup default 1.67.0 # Pin clippy. + - rustup default 1.70.0 # Pin clippy. - rustup component add clippy - cargo clippy --version - !reference [.before_script, end] diff --git a/openpgp/src/crypto/mpi.rs b/openpgp/src/crypto/mpi.rs index 2179fd89..0e47a7f2 100644 --- a/openpgp/src/crypto/mpi.rs +++ b/openpgp/src/crypto/mpi.rs @@ -700,7 +700,7 @@ impl Arbitrary for PublicKey { /// extensions. // Deriving Hash here is okay: PartialEq is manually implemented to // ensure that secrets are compared in constant-time. -#[allow(clippy::derive_hash_xor_eq)] +#[allow(clippy::derived_hash_with_manual_eq)] #[non_exhaustive] #[derive(Clone, Hash)] pub enum SecretKeyMaterial { |