diff options
| author | Jules Bertholet <julesbertholet@quoi.xyz> | 2024-04-09 01:40:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-09 01:40:03 -0400 |
| commit | c9be7b8db695a3f18f503fa039b33efb215ba695 (patch) | |
| tree | 0b08c0bf36f9de6668b0df81067f802583fd86a2 | |
| parent | bd12986fd6659a3091cff7694b8225374f4a26fe (diff) | |
| download | rust-c9be7b8db695a3f18f503fa039b33efb215ba695.tar.gz rust-c9be7b8db695a3f18f503fa039b33efb215ba695.zip | |
Fix typo in `Future::poll()` docs
| -rw-r--r-- | library/core/src/future/future.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/future/future.rs b/library/core/src/future/future.rs index 6dd3069034d..f965afc8a59 100644 --- a/library/core/src/future/future.rs +++ b/library/core/src/future/future.rs @@ -81,7 +81,7 @@ pub trait Future { /// An implementation of `poll` should strive to return quickly, and should /// not block. Returning quickly prevents unnecessarily clogging up /// threads or event loops. If it is known ahead of time that a call to - /// `poll` may end up taking awhile, the work should be offloaded to a + /// `poll` may end up taking a while, the work should be offloaded to a /// thread pool (or something similar) to ensure that `poll` can return /// quickly. /// |
