Skip to content

Commit

Permalink
Unrolled build for rust-lang#117168
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#117168 - oli-obk:coroutine_cleanups, r=JohnTitor

Fix some coroutine sentences that don't make sense anymore.

These happened during the `generator` -> `coroutine` rename.

Found thanks to `@pthariensflame` for their thorough review of the `generator` -> `coroutine` rename rust-lang#116958 (comment)
  • Loading branch information
rust-timer committed Oct 25, 2023
2 parents 964ff01 + 1be0033 commit 9f9c403
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/core/src/ops/coroutine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub enum CoroutineState<Y, R> {

/// The trait implemented by builtin coroutine types.
///
/// Coroutines, also commonly referred to as coroutines, are currently an
/// Coroutines are currently an
/// experimental language feature in Rust. Added in [RFC 2033] coroutines are
/// currently intended to primarily provide a building block for async/await
/// syntax but will likely extend to also providing an ergonomic definition for
Expand Down
2 changes: 1 addition & 1 deletion src/doc/unstable-book/src/language-features/coroutines.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Coroutines are an extra-unstable feature in the compiler right now. Added in
[RFC 2033] they're mostly intended right now as a information/constraint
gathering phase. The intent is that experimentation can happen on the nightly
compiler before actual stabilization. A further RFC will be required to
stabilize coroutines/coroutines and will likely contain at least a few small
stabilize coroutines and will likely contain at least a few small
tweaks to the overall design.

[RFC 2033]: https://github.com/rust-lang/rfcs/pull/2033
Expand Down

0 comments on commit 9f9c403

Please sign in to comment.