Skip to content

Commit

Permalink
chore(itertools): update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Aug 24, 2024
1 parent 8068ffd commit 67048e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
[dependencies]
anyhow = "1.0.78"
indicatif = "0.17.7"
itertools = "0.12.0"
itertools = "0.13.0"
kdbx4 = "0.5.1"
rpassword = "7.3.1"
futures = "0.3.30"
Expand Down
2 changes: 1 addition & 1 deletion src/hibp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn hashed_passwords<'a>(passwords: &[&'a str]) -> Vec<Vec<(String, &'a str)>> {
.collect::<Vec<_>>()
.into_iter()
.sorted()
.group_by(|(sha, _)| sha.chars().take(5).collect::<String>())
.chunk_by(|(sha, _)| sha.chars().take(5).collect::<String>())
.into_iter()
.map(|(_, e)| e.collect_vec())
.collect_vec()
Expand Down

0 comments on commit 67048e8

Please sign in to comment.