mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-06 04:35:32 +00:00
Apply suggestions from code review
Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
This commit is contained in:
parent
876059cfe0
commit
8e2bf24456
1 changed files with 2 additions and 2 deletions
|
@ -279,9 +279,9 @@ impl<T: Evented> IoHandle<T> {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue