mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
Merge pull request #8 from nbigaouette/patch-1
Fix typo in Loop::run() documentation
This commit is contained in:
@@ -205,7 +205,7 @@ impl Loop {
|
|||||||
/// the future panics then it's the responsibility of the caller to catch
|
/// the future panics then it's the responsibility of the caller to catch
|
||||||
/// that panic and handle it as appropriate.
|
/// 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
|
/// 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
|
/// separate thread will result in a panic. That is, calls to
|
||||||
/// `task::poll_on` must be avoided.
|
/// `task::poll_on` must be avoided.
|
||||||
|
|||||||
Reference in New Issue
Block a user