Skip to content

Commit

Permalink
Auto merge of #381 - stepancheg:clippy, r=Amanieu
Browse files Browse the repository at this point in the history
Apply clippy suggestions

So CI could be green on the other PR.
  • Loading branch information
bors committed Jan 6, 2023
2 parents f18ea5e + 2b03dac commit 09dc17e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7679,7 +7679,7 @@ mod test_map {
let vec: Vec<_> = (100..200).map(|i| (i, i)).collect();
a.extend(iter);
a.extend(&vec);
a.extend(&create_arr::<i32, 100>(200, 1));
a.extend(create_arr::<i32, 100>(200, 1));

assert_eq!(a.len(), 300);

Expand Down
2 changes: 1 addition & 1 deletion src/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2794,7 +2794,7 @@ mod test_set {
let mut a = HashSet::new();
a.insert(1);

a.extend(&[2, 3, 4]);
a.extend([2, 3, 4]);

assert_eq!(a.len(), 4);
assert!(a.contains(&1));
Expand Down

0 comments on commit 09dc17e

Please sign in to comment.