Merge pull request #8 from nbigaouette/patch-1

Fix typo in Loop::run() documentation
This commit is contained in:
Alex Crichton
2016-09-01 09:00:14 -07:00
committed by GitHub
+1 -1
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.