Merge pull request #92 from dwrensha/typo

Fix some typos.
This commit is contained in:
Alex Crichton 2016-11-05 13:33:01 -07:00 committed by GitHub
commit 6dc8333fb2
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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");