mirror of https://github.com/smol-rs/polling
fix test
This commit is contained in:
parent
117ef10432
commit
7d09e02ec7
|
@ -86,6 +86,7 @@ fn main() -> std::io::Result<()> {
|
|||
fn main() -> std::io::Result<()> {
|
||||
use polling::Event;
|
||||
use std::{io::Write, time::Duration};
|
||||
use std::io;
|
||||
|
||||
std::thread::spawn(|| {
|
||||
let listener = std::net::TcpListener::bind("0.0.0.0:8080").unwrap();
|
||||
|
|
Loading…
Reference in New Issue