Skip to content

Commit

Permalink
chore(autonat, gossipsub, relay, quic): implement latest clippy changes
Browse files Browse the repository at this point in the history
I implemented the latest clippy suggestions (again). With those changes the CI won't fail when these lints are merged.

Pull-Request: libp2p#4704.
  • Loading branch information
umgefahren authored Oct 22, 2023
1 parent 629f1fd commit a6274bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ async fn test_dial_multiple_addr() {
let dial_errors = concurrent_dial_errors.unwrap();

// The concurrent dial might not be fast enough to produce a dial error.
if let Some((addr, _)) = dial_errors.get(0) {
if let Some((addr, _)) = dial_errors.first() {
assert_eq!(addr, &dial_addresses[0]);
}

Expand Down

0 comments on commit a6274bd

Please sign in to comment.