doc(spawn_fn): Fix typo

This commit is contained in:
oberien 2016-09-28 03:20:33 +02:00
parent 1d40bf14f7
commit f62d1ddc8d

View File

@ -582,7 +582,7 @@ impl Handle {
/// This function is a convenience wrapper around the `spawn` function above
/// for running a closure wrapped in `futures::lazy`. It will spawn the
/// function `f` provided onto the event loop, and continue to run the
/// future returned by `f` on the evnet loop as well.
/// future returned by `f` on the event loop as well.
pub fn spawn_fn<F, R>(&self, f: F)
where F: FnOnce() -> R + 'static,
R: IntoFuture<Item=(), Error=()> + 'static,