mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
commit
6dc8333fb2
@ -56,7 +56,7 @@ pub use self::write_all::{write_all, WriteAll};
|
||||
/// Additionally, they're associated with the ability to test whether they're
|
||||
/// readable or writable.
|
||||
///
|
||||
/// Imporantly, the methods of this trait are intended to be used in conjuction
|
||||
/// Importantly, the methods of this trait are intended to be used in conjuction
|
||||
/// with the current task of a future. Namely whenever any of them return a
|
||||
/// value that indicates "would block" the current future's task is arranged to
|
||||
/// receive a notification when the method would otherwise not indicate that it
|
||||
@ -122,7 +122,7 @@ pub trait Io: io::Read + io::Write {
|
||||
/// Most implementations of `FramedIo` are for doing protocol level
|
||||
/// serialization and deserialization.
|
||||
///
|
||||
/// Imporantly, the methods of this trait are intended to be used in conjuction
|
||||
/// Importantly, the methods of this trait are intended to be used in conjuction
|
||||
/// with the current task of a future. Namely whenever any of them return a
|
||||
/// value that indicates "would block" the current future's task is arranged to
|
||||
/// receive a notification when the method would otherwise not indicate that it
|
||||
|
@ -373,7 +373,7 @@ impl Core {
|
||||
|
||||
/// Method used to notify a task handle.
|
||||
///
|
||||
/// Note that this should be used instead fo `handle.unpark()` to ensure
|
||||
/// Note that this should be used instead of `handle.unpark()` to ensure
|
||||
/// that the `CURRENT_LOOP` variable is set appropriately.
|
||||
fn notify_handle(&self, handle: Task) {
|
||||
debug!("notifying a task handle");
|
||||
|
Loading…
x
Reference in New Issue
Block a user