Skip to content

Commit

Permalink
pwhash: clippy suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
brycx committed Sep 7, 2024
1 parent ca78c0d commit 29426fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/high_level/pwhash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ impl PasswordHash {
let param_parts_split = parts
.next()
.unwrap()
.split(|v| v == '=' || v == ',')
.split(['=', ','])
.collect::<Vec<&str>>();
if param_parts_split.len() != 6 {
return Err(UnknownCryptoError);
Expand Down

0 comments on commit 29426fa

Please sign in to comment.