Fix typo in Future::poll()
docs
This commit is contained in:
parent
bd12986fd6
commit
c9be7b8db6
@ -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.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user