diff --git a/zellij-utils/src/data.rs b/zellij-utils/src/data.rs index 2625b252e9..7a06f5cf40 100644 --- a/zellij-utils/src/data.rs +++ b/zellij-utils/src/data.rs @@ -1168,7 +1168,7 @@ impl LayoutInfo { use std::hash::{Hash, Hasher}; -#[allow(clippy::derive_hash_xor_eq)] +#[allow(clippy::derived_hash_with_manual_eq)] impl Hash for SessionInfo { fn hash(&self, state: &mut H) { self.name.hash(state); diff --git a/zellij-utils/src/input/layout.rs b/zellij-utils/src/input/layout.rs index 94122d9f3b..c8a90e0247 100644 --- a/zellij-utils/src/input/layout.rs +++ b/zellij-utils/src/input/layout.rs @@ -395,7 +395,7 @@ impl Run { } } -#[allow(clippy::derive_hash_xor_eq)] +#[allow(clippy::derived_hash_with_manual_eq)] #[derive(Debug, Serialize, Deserialize, Clone, Hash, Default)] pub struct RunPlugin { #[serde(default)] @@ -481,7 +481,7 @@ impl PluginAlias { } } -#[allow(clippy::derive_hash_xor_eq)] +#[allow(clippy::derived_hash_with_manual_eq)] impl PartialEq for RunPlugin { fn eq(&self, other: &Self) -> bool { // TODO: normalize paths here if the location is a file so that relative/absolute paths diff --git a/zellij-utils/src/pane_size.rs b/zellij-utils/src/pane_size.rs index fe56e720e2..3ce846e00d 100644 --- a/zellij-utils/src/pane_size.rs +++ b/zellij-utils/src/pane_size.rs @@ -164,7 +164,7 @@ impl Display for Constraint { } } -#[allow(clippy::derive_hash_xor_eq)] +#[allow(clippy::derived_hash_with_manual_eq)] impl Hash for Constraint { fn hash(&self, state: &mut H) { match self {