Skip to content

Commit

Permalink
cargo-audit-fix
Browse files Browse the repository at this point in the history
Closes: diem#10894
  • Loading branch information
ankitkacn authored and bors-diem committed Jun 20, 2023
1 parent 40d633a commit fc4714a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
13 changes: 6 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/diem-crypto/src/multi_ed25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl PublicKey for MultiEd25519PublicKey {
type PrivateKeyMaterial = MultiEd25519PrivateKey;
}

#[allow(clippy::derive_hash_xor_eq)]
#[allow(clippy::derived_hash_with_manual_eq)]
impl std::hash::Hash for MultiEd25519PublicKey {
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
let encoded_pubkey = self.to_bytes();
Expand Down Expand Up @@ -450,7 +450,7 @@ impl Length for MultiEd25519Signature {
}
}

#[allow(clippy::derive_hash_xor_eq)]
#[allow(clippy::derived_hash_with_manual_eq)]
impl std::hash::Hash for MultiEd25519Signature {
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
let encoded_signature = self.to_bytes();
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.67.0
1.69.0
3 changes: 2 additions & 1 deletion x.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ allowed = [
"clippy::question-mark",
"clippy::let-underscore-future",
"clippy::implicit-saturating-sub",
"clippy::box-default"
"clippy::box-default",
"clippy::useless-conversion",
]
warn = [
"clippy::wildcard_dependencies",
Expand Down

0 comments on commit fc4714a

Please sign in to comment.