Skip to content

Commit 4f563a1

Browse files
Rollup merge of rust-lang#123665 - Jules-Bertholet:patch-1, r=lqd
Fix typo in `Future::poll()` docs ``@rustbot`` label A-docs
2 parents e5b2935 + c9be7b8 commit 4f563a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/future/future.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub trait Future {
8181
/// An implementation of `poll` should strive to return quickly, and should
8282
/// not block. Returning quickly prevents unnecessarily clogging up
8383
/// threads or event loops. If it is known ahead of time that a call to
84-
/// `poll` may end up taking awhile, the work should be offloaded to a
84+
/// `poll` may end up taking a while, the work should be offloaded to a
8585
/// thread pool (or something similar) to ensure that `poll` can return
8686
/// quickly.
8787
///

0 commit comments

Comments
 (0)