diff --git a/lychee-lib/src/types/error.rs b/lychee-lib/src/types/error.rs index 08555fd282..3abe0e72ec 100644 --- a/lychee-lib/src/types/error.rs +++ b/lychee-lib/src/types/error.rs @@ -468,7 +468,7 @@ impl Hash for ErrorKind { } Self::Regex(e) => e.to_string().hash(state), Self::BasicAuthExtractorError(e) => e.to_string().hash(state), - Self::Cookies(e) => e.clone().hash(state), + Self::Cookies(e) => e.hash(state), Self::StatusCodeSelectorError(e) => e.to_string().hash(state), } }