This commit is contained in:
Irving Ou 2024-02-07 12:34:52 -05:00 committed by irving ou
parent 061100ad5d
commit 51d7ea0e9f
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,4 @@
#![cfg(any(target_os = "linux", target_os = "windows"))]
use std::io;
#[cfg(target_os = "linux")]

View File

@ -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};
///