Skip to content

Commit

Permalink
doc: Don't forget to document methods correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluefinger committed Apr 17, 2024
1 parent 24b4ec7 commit 501750a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/final_v4_2/hasher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub struct WyHash {
}

impl WyHash {
/// thing
/// Create suitable secret values to be used by the hasher.
#[must_use]
#[inline]
pub fn make_secret(seed: u64) -> Secret {
Expand Down
2 changes: 1 addition & 1 deletion src/legacy_final_v4/hasher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub struct WyHashLegacy {
}

impl WyHashLegacy {
/// thing
/// Create suitable secret values to be used by the hasher.
#[must_use]
#[inline]
pub fn make_secret(seed: u64) -> LegacySecret {
Expand Down

0 comments on commit 501750a

Please sign in to comment.