Skip to content

Commit 8e2bf24

Browse files
yshuiStjepan Glavina
and
Stjepan Glavina
authored
Apply suggestions from code review
Co-Authored-By: Stjepan Glavina <[email protected]>
1 parent 876059c commit 8e2bf24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net/driver/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ impl<T: Evented> IoHandle<T> {
279279
Ok(())
280280
}
281281

282-
/// Deregister and return the I/O source
282+
/// Deregisters and returns the inner I/O source.
283283
///
284-
/// This method is to support IntoRawFd in struct that uses IoHandle
284+
/// This method is typically used to convert `IoHandle`s to raw file descriptors/handles.
285285
pub fn into_inner(mut self) -> T {
286286
let source = self.source.take().unwrap();
287287
REACTOR

0 commit comments

Comments
 (0)