From aaef907b7f3e91bb9a5d3da9e109a52ea768fb5d Mon Sep 17 00:00:00 2001 From: Irving Ou Date: Wed, 7 Feb 2024 12:34:52 -0500 Subject: [PATCH] CI --- examples/tcp_client.rs | 1 + src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tcp_client.rs b/examples/tcp_client.rs index b95fd11..809a84a 100644 --- a/examples/tcp_client.rs +++ b/examples/tcp_client.rs @@ -1,3 +1,4 @@ +#![cfg(any(target_os = "linux", target_os = "windows"))] use std::io; #[cfg(target_os = "linux")] diff --git a/src/lib.rs b/src/lib.rs index 9c017ce..aed06be 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -343,10 +343,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}; ///