Skip to content

Commit 271fd2e

Browse files
authored
Fix some of clippy warnings
1 parent f9e882e commit 271fd2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/socket.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::bool_assert_comparison)]
12
#[cfg(all(
23
feature = "all",
34
any(
@@ -493,7 +494,7 @@ fn out_of_band() {
493494

494495
let (receiver, _) = listener.accept().unwrap();
495496

496-
sender.send(&DATA).unwrap();
497+
sender.send(DATA).unwrap();
497498

498499
const FIRST: &[u8] = b"!";
499500
assert_eq!(sender.send_out_of_band(FIRST).unwrap(), FIRST.len());

0 commit comments

Comments
 (0)