mirror of https://github.com/smol-rs/polling
fix test
This commit is contained in:
parent
9f8f960dd9
commit
5a0fd36904
|
@ -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