Skip to content

Commit

Permalink
Fix some coroutine sentences that don't make sense anymore.
Browse files Browse the repository at this point in the history
These happened during the `generator` -> `coroutine` rename.
  • Loading branch information
oli-obk committed Oct 25, 2023
1 parent eb03d40 commit 1be0033
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 1be0033

Please sign in to comment.