Mark Hasher::finish as #[must_use]
This commit is contained in:
parent
249595384b
commit
448dd30ed4
1 changed files with 1 additions and 0 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue