From f96d37ccf321c4e7166eef66e7d6fa7b1205cb29 Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Sat, 5 Nov 2016 16:29:54 -0400 Subject: [PATCH] Fix some typos. --- src/io/mod.rs | 4 ++-- src/reactor/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/io/mod.rs b/src/io/mod.rs index 4648cf70f..d013727d3 100644 --- a/src/io/mod.rs +++ b/src/io/mod.rs @@ -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 diff --git a/src/reactor/mod.rs b/src/reactor/mod.rs index 6add6141b..30d0f0313 100644 --- a/src/reactor/mod.rs +++ b/src/reactor/mod.rs @@ -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");