mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
Fix typo in Loop::run() documentation
Simple typo fixed (`becuase` -> `because`)
This commit is contained in:
committed by
GitHub
parent
330ab823b0
commit
376974c349
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user