Skip to content

Commit

Permalink
lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah-Kennedy committed Mar 2, 2025
1 parent b5a3558 commit 89fdc71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tokio/tests/tcp_peek.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ use std::{io::Write, net};
async fn peek() {
let listener = net::TcpListener::bind("127.0.0.1:0").unwrap();

listener.set_nonblocking(true).unwrap();

let addr = listener.local_addr().unwrap();
let t = thread::spawn(move || assert_ok!(listener.accept()).0);

Expand Down

0 comments on commit 89fdc71

Please sign in to comment.