From 8e2bf244563a671bbbf6c66922f7f0340aea3092 Mon Sep 17 00:00:00 2001 From: yshui Date: Sun, 8 Sep 2019 23:16:34 +0100 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Stjepan Glavina --- src/net/driver/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/driver/mod.rs b/src/net/driver/mod.rs index 4d09637..5c4e38a 100644 --- a/src/net/driver/mod.rs +++ b/src/net/driver/mod.rs @@ -279,9 +279,9 @@ impl IoHandle { Ok(()) } - /// Deregister and return the I/O source + /// Deregisters and returns the inner I/O source. /// - /// This method is to support IntoRawFd in struct that uses IoHandle + /// This method is typically used to convert `IoHandle`s to raw file descriptors/handles. pub fn into_inner(mut self) -> T { let source = self.source.take().unwrap(); REACTOR