Skip to content

Commit 1be0033

Browse files
committed
Fix some coroutine sentences that don't make sense anymore.
These happened during the `generator` -> `coroutine` rename.
1 parent eb03d40 commit 1be0033

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/ops/coroutine.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub enum CoroutineState<Y, R> {
2929

3030
/// The trait implemented by builtin coroutine types.
3131
///
32-
/// Coroutines, also commonly referred to as coroutines, are currently an
32+
/// Coroutines are currently an
3333
/// experimental language feature in Rust. Added in [RFC 2033] coroutines are
3434
/// currently intended to primarily provide a building block for async/await
3535
/// syntax but will likely extend to also providing an ergonomic definition for

src/doc/unstable-book/src/language-features/coroutines.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Coroutines are an extra-unstable feature in the compiler right now. Added in
1818
[RFC 2033] they're mostly intended right now as a information/constraint
1919
gathering phase. The intent is that experimentation can happen on the nightly
2020
compiler before actual stabilization. A further RFC will be required to
21-
stabilize coroutines/coroutines and will likely contain at least a few small
21+
stabilize coroutines and will likely contain at least a few small
2222
tweaks to the overall design.
2323

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

0 commit comments

Comments
 (0)