mirror of https://github.com/smol-rs/polling
This commit is contained in:
parent
061100ad5d
commit
51d7ea0e9f
|
@ -1,3 +1,4 @@
|
|||
#![cfg(any(target_os = "linux", target_os = "windows"))]
|
||||
use std::io;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
|
|
|
@ -403,10 +403,9 @@ impl Event {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
///use std::io;
|
||||
///
|
||||
///#[cfg(target_os = "linux")]
|
||||
///fn main() -> io::Result<()> {
|
||||
///fn main() -> std::io::Result<()> {
|
||||
/// use std::net;
|
||||
/// use std::{io::Write, time::Duration};
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue