mirror of https://github.com/smol-rs/polling
fmt
This commit is contained in:
parent
7d09e02ec7
commit
4e5a342d93
|
@ -85,8 +85,8 @@ fn main() -> std::io::Result<()> {
|
|||
#[cfg(target_os = "windows")]
|
||||
fn main() -> std::io::Result<()> {
|
||||
use polling::Event;
|
||||
use std::{io::Write, time::Duration};
|
||||
use std::io;
|
||||
use std::{io::Write, time::Duration};
|
||||
|
||||
std::thread::spawn(|| {
|
||||
let listener = std::net::TcpListener::bind("0.0.0.0:8080").unwrap();
|
||||
|
|
Loading…
Reference in New Issue