Skip to content

Commit

Permalink
Fix newly introduced clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marmeladema committed Oct 3, 2023
1 parent e912481 commit be92f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ mod tests {
assert_eq!(cache.capacity(), 5);
assert_eq!(cache.is_full(), false);

cache.extend(vec![("c", 3), ("d", 4), ("e", 5)].into_iter());
cache.extend([("c", 3), ("d", 4), ("e", 5)]);

assert_eq!(cache.len(), 5);
assert_eq!(cache.capacity(), 5);
Expand Down

0 comments on commit be92f27

Please sign in to comment.