Skip to content

Commit

Permalink
Merge pull request #138 from agourlay/update-dependencies-ahash
Browse files Browse the repository at this point in the history
Update dependencies to remove ahash 0.7.6
  • Loading branch information
greyblake committed Jan 4, 2024
2 parents 4a3da51 + 04150c8 commit ebf7e28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Expand Up @@ -19,8 +19,8 @@ include = [
]

[dependencies]
hashbrown = "0.12.0"
once_cell = "1.10.0"
hashbrown = "0.14.2"
once_cell = "1.18.0"
enum-map = { version = "2", optional = true }
serde = { version = "1", optional = true, features = ["derive"] }
arbitrary = { version = "1", optional = true, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion src/trigrams/utils.rs
Expand Up @@ -143,7 +143,7 @@ mod tests {
trigram_occurances,
} = count(&lowercase_text);
for &(trigram_str, expected_n) in pairs.iter() {
let chars: Vec<char> = trigram_str.clone().chars().collect();
let chars: Vec<char> = trigram_str.chars().collect();
let trigram = Trigram(chars[0], chars[1], chars[2]);
let actual_n = trigram_occurances[&trigram];
assert_eq!(
Expand Down

0 comments on commit ebf7e28

Please sign in to comment.