diff options
author | Artem Vorotnikov <artem@vorotnikov.me> | 2019-12-14 09:01:47 +0300 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2019-12-13 22:01:47 -0800 |
commit | d593c5b051f07bde5117122216a356632986b6dd (patch) | |
tree | 87df3c4dd3a4cda23ae1125e8b78358804385edb /tokio/tests/tcp_peek.rs | |
parent | 91ecb4b4c2ec202b6754ccb5fb266a84fe3a7327 (diff) |
chore: remove benches and fix/work around clippy lints (#1952)
Diffstat (limited to 'tokio/tests/tcp_peek.rs')
-rw-r--r-- | tokio/tests/tcp_peek.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/tests/tcp_peek.rs b/tokio/tests/tcp_peek.rs index c5781daf..aecc0ac1 100644 --- a/tokio/tests/tcp_peek.rs +++ b/tokio/tests/tcp_peek.rs @@ -17,7 +17,7 @@ async fn peek() { let left = net::TcpStream::connect(&addr).unwrap(); let mut right = t.join().unwrap(); - right.write(&[1, 2, 3, 4]).unwrap(); + let _ = right.write(&[1, 2, 3, 4]).unwrap(); let mut left: TcpStream = left.try_into().unwrap(); let mut buf = [0u8; 16]; |