diff --git a/shed/hash_memo/src/lib.rs b/shed/hash_memo/src/lib.rs index 195d7dc20..a5149f3ad 100644 --- a/shed/hash_memo/src/lib.rs +++ b/shed/hash_memo/src/lib.rs @@ -192,7 +192,7 @@ impl Hash for EagerHashMemoizer { // the finish value. // Hasher has only limited apis, and this is safer than transmuting // to use a specific write_finish() api. - state.finish(); + let _ = state.finish(); // If we are using the MemoHasher, this will set the finish value. // Otherwise it harmlessly alters the hash a bit. @@ -260,7 +260,7 @@ impl Hash for LazyHashMemoizer<'_, T, I> { // Tells MemoHasher to interpret the write_u64 as the finish value. // Hasher has only limited apis, and this is safer than transmuting // to use a specific write_finish() api. - state.finish(); + let _ = state.finish(); // If we are using the MemoHasher, this will set the finish value. // Otherwise it harmlessly alters the hash a bit