Fix documentation typos

This commit is contained in:
Moritz Gunz
2016-09-21 18:27:25 +02:00
committed by GitHub
parent f41c55f9f7
commit 326537b861
+2 -2
View File
@@ -540,7 +540,7 @@ impl Remote {
} }
} }
/// Spawns a new future into the event loop this handle is associated this. /// Spawns a new future into the event loop this remote is associated with.
/// ///
/// This function takes a closure which is executed within the context of /// This function takes a closure which is executed within the context of
/// the I/O loop itself. The future returned by the closure will be /// the I/O loop itself. The future returned by the closure will be
@@ -566,7 +566,7 @@ impl Handle {
&self.remote &self.remote
} }
/// Spawns a new future on the event loop this pin is associated this. /// Spawns a new future on the event loop this handle is associated with.
pub fn spawn<F>(&self, f: F) pub fn spawn<F>(&self, f: F)
where F: Future<Item=(), Error=()> + 'static, where F: Future<Item=(), Error=()> + 'static,
{ {