From f756fd9d4b3f8786546603c9866fa8e6c83428bb Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sun, 14 Jan 2024 09:50:05 -0800 Subject: [PATCH] fmt Signed-off-by: John Nunley --- src/io.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/io.rs b/src/io.rs index a83eaefd..24f76410 100644 --- a/src/io.rs +++ b/src/io.rs @@ -37,9 +37,9 @@ use crate::{AdditionalLifecycleEventsSet, RegistrationToken}; /// `AsyncWrite` if the underlying type implements `Read` and/or `Write`. /// /// Note that this adapter and the futures procuded from it and *not* threadsafe. -/// +/// /// ## Platform-Specific -/// +/// /// - **Windows:** Usually, on drop, the file descriptor is set back to its previous status. /// For example, if the file was previously nonblocking it will be set to nonblocking, and /// if the file was blocking it will be set to blocking. However, on Windows, it is impossible @@ -102,7 +102,7 @@ impl<'l, F: AsFd> Async<'l, F> { fd: Some(fd), dispatcher, inner, - was_nonblocking + was_nonblocking, }) }