Skip to content

Commit

Permalink
sha-crypt: clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo committed Sep 28, 2024
1 parent b439a54 commit 1c5a655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sha-crypt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ pub fn sha256_simple(password: &str, params: &Sha256Params) -> String {
/// # Arguments
/// - `password` - expected password
/// - `hashed_value` - the hashed value which should be used for checking,
/// should be of format mentioned in [1]: `$6$<SALT>$<PWD>`
/// should be of format mentioned in [1]: `$6$<SALT>$<PWD>`
///
/// # Return
/// `OK(())` if password matches otherwise Err(CheckError) in case of invalid
Expand Down Expand Up @@ -462,7 +462,7 @@ pub fn sha512_check(password: &str, hashed_value: &str) -> Result<(), CheckError
/// # Arguments
/// - `password` - expected password
/// - `hashed_value` - the hashed value which should be used for checking,
/// should be of format mentioned in [1]: `$6$<SALT>$<PWD>`
/// should be of format mentioned in [1]: `$6$<SALT>$<PWD>`
///
/// # Return
/// `OK(())` if password matches otherwise Err(CheckError) in case of invalid
Expand Down

0 comments on commit 1c5a655

Please sign in to comment.