Skip to content

Commit

Permalink
ref(ci): Deny warnings again (#1075)
Browse files Browse the repository at this point in the history
This branch should now be stable enough that we should deny compiler
warnings again.

Fix resulting clippy error: no .into_iter() call on a reference
  • Loading branch information
flub committed Jun 6, 2023
1 parent a89fccf commit 6df66f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
RUST_BACKTRACE: 1
# RUSTFLAGS: -Dwarnings
RUSTFLAGS: -Dwarnings
MSRV: "1.65"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ fn test_provide_get_loop_single(
let ticket = Ticket::from_str(&all_in_one).unwrap();
let addrs = ticket
.addrs()
.into_iter()
.iter()
.map(|x| x.to_string())
.collect::<Vec<_>>();
let peer = ticket.peer().to_string();
Expand Down

0 comments on commit 6df66f4

Please sign in to comment.