diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2023-09-30 20:28:37 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2023-09-30 20:28:37 +0200 |
commit | bbc7bd79393de9f284fa4f50905936dc8cb2aaa0 (patch) | |
tree | 50e3694347022ea24c65dfa373c7cead7a5bc1a1 /crates/driver/src/args.rs | |
parent | e77305d3dc7e89474b14f86b180fc0ac51db3678 (diff) | |
download | rebel-bbc7bd79393de9f284fa4f50905936dc8cb2aaa0.tar rebel-bbc7bd79393de9f284fa4f50905936dc8cb2aaa0.zip |
Fix clippy warnings
Diffstat (limited to 'crates/driver/src/args.rs')
-rw-r--r-- | crates/driver/src/args.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/driver/src/args.rs b/crates/driver/src/args.rs index 510a156..805646a 100644 --- a/crates/driver/src/args.rs +++ b/crates/driver/src/args.rs @@ -100,7 +100,7 @@ impl<'a> IntoIterator for &'a TaskArgs { } } -#[allow(clippy::derive_hash_xor_eq)] +#[allow(clippy::derived_hash_with_manual_eq)] impl hash::Hash for TaskArgs { fn hash<H: hash::Hasher>(&self, _state: &mut H) { // Don't do anything: Properly hashing the task args is likely to cost @@ -116,7 +116,7 @@ pub fn arg<A: Into<Arg>>(key: &str, value: A) -> (String, Arg) { #[derive(Clone, Debug, Deserialize, Default, PartialEq, Eq)] pub struct ArgMapping(pub HashMap<String, String>); -#[allow(clippy::derive_hash_xor_eq)] +#[allow(clippy::derived_hash_with_manual_eq)] impl hash::Hash for ArgMapping { fn hash<H: hash::Hasher>(&self, _state: &mut H) {} } |