Skip to content

Commit

Permalink
Rollup merge of rust-lang#89799 - ast-ral:ready-method-spellck, r=jos…
Browse files Browse the repository at this point in the history
…htriplett

fix minor spelling error in Poll::ready docs

Fixes minor spelling error in the proposed `Poll::ready` docs. Not that my opinion matters, but +1 on the original PR (rust-lang#89651), it reads much nicer to me than the `ready!` macro.
  • Loading branch information
the8472 committed Oct 12, 2021
2 parents 4cf0f1f + 5100630 commit 7017410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/task/poll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl<T> Poll<T> {
/// Extracts the successful type of a [`Poll<T>`].
///
/// When combined with the `?` operator, this function will
/// propogate any [`Poll::Pending`] values to the caller, and
/// propagate any [`Poll::Pending`] values to the caller, and
/// extract the `T` from [`Poll::Ready`].
///
/// # Examples
Expand Down

0 comments on commit 7017410

Please sign in to comment.