From 416e21347837c499751021a691fa8319dadc0125 Mon Sep 17 00:00:00 2001 From: htrefil <8711792+htrefil@users.noreply.github.com> Date: Wed, 28 Oct 2020 20:04:22 +0100 Subject: [PATCH] Clarify comment --- input/src/event_writer.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/input/src/event_writer.rs b/input/src/event_writer.rs index a3d35f4..6451266 100644 --- a/input/src/event_writer.rs +++ b/input/src/event_writer.rs @@ -52,7 +52,8 @@ impl EventWriter { pub(crate) async fn write_raw(&mut self, event: input_event) -> Result<(), Error> { // As far as tokio is concerned, the FD never becomes ready for writing, so just write it normally. - // If an error happens, it will be propagated to caller, so it shouldn't be an issue. + // If an error happens, it will be propagated to caller and the FD is opened in nonblocking mode anyway, + // so it shouldn't be an issue. let ret = unsafe { glue::libevdev_uinput_write_event( self.uinput as *const _,