Fix typo in Loop::run() documentation

Simple typo fixed (`becuase` -> `because`)
This commit is contained in:
Nicolas Bigaouette 2016-08-31 22:35:19 -04:00 committed by GitHub
parent 330ab823b0
commit 376974c349

View File

@ -205,7 +205,7 @@ impl Loop {
/// the future panics then it's the responsibility of the caller to catch
/// that panic and handle it as appropriate.
///
/// Similarly, becuase the provided future will be pinned not only to this
/// Similarly, because the provided future will be pinned not only to this
/// thread but also to this task, any attempt to poll the future on a
/// separate thread will result in a panic. That is, calls to
/// `task::poll_on` must be avoided.