fix: add hasher clone to access result method
This commit is contained in:
@@ -13,7 +13,7 @@ impl DigestEngineSha256 {
|
||||
|
||||
// Manual implementation of PartialEq
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.hasher.result().as_slice() == other.hasher.result().as_slice()
|
||||
self.hasher.clone().result().as_slice() == other.hasher.clone().result().as_slice()
|
||||
}
|
||||
|
||||
// Manual implementation of Eq
|
||||
|
||||
Reference in New Issue
Block a user