Skip to content

Commit

Permalink
Fix typo in Future::poll() docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-Bertholet committed Apr 9, 2024
1 parent bd12986 commit c9be7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/future/future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit c9be7b8

Please sign in to comment.