diff --git a/core/src/hash/mod.rs b/core/src/hash/mod.rs index 1c93a7b28fd35..da734466263ab 100644 --- a/core/src/hash/mod.rs +++ b/core/src/hash/mod.rs @@ -334,6 +334,7 @@ pub trait Hasher { /// /// [`write`]: Hasher::write #[stable(feature = "rust1", since = "1.0.0")] + #[must_use] fn finish(&self) -> u64; /// Writes some data into this `Hasher`.