Skip to content

Commit 3e93dcf

Browse files
Fix typo in Future::poll() docs
1 parent 3e9e417 commit 3e93dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)