diff --git a/src/sha512.rs b/src/sha512.rs index 8498c99..98e18ac 100644 --- a/src/sha512.rs +++ b/src/sha512.rs @@ -124,19 +124,19 @@ impl Default for Hash { impl PartialOrd for Hash { fn partial_cmp(&self, other: &Hash) -> Option { - (&self.0).partial_cmp(&other.0) + self.0.partial_cmp(&other.0) } } impl Ord for Hash { fn cmp(&self, other: &Hash) -> cmp::Ordering { - (&self.0).cmp(&other.0) + self.0.cmp(&other.0) } } impl hash::Hash for Hash { fn hash(&self, state: &mut H) { - (&self.0).hash(state) + self.0.hash(state) } }