Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
valenting committed Aug 28, 2023
1 parent c54d543 commit e9b761b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion url/tests/unit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ fn append_trailing_slash() {
fn extend_query_pairs_then_mutate() {
let mut url: Url = "http://localhost:6767/foo/bar".parse().unwrap();
url.query_pairs_mut()
.extend_pairs(vec![("auth", "my-token")].into_iter());
.extend_pairs(vec![("auth", "my-token")]);
url.check_invariants().unwrap();
assert_eq!(
url.to_string(),
Expand Down

0 comments on commit e9b761b

Please sign in to comment.