diff options
Diffstat (limited to 'library/core/src/future/mod.rs')
| -rw-r--r-- | library/core/src/future/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/future/mod.rs b/library/core/src/future/mod.rs index 089493d3766..0f77a2d8343 100644 --- a/library/core/src/future/mod.rs +++ b/library/core/src/future/mod.rs @@ -38,7 +38,7 @@ pub use poll_fn::{poll_fn, PollFn}; /// This type is needed because: /// -/// a) Generators cannot implement `for<'a, 'b> Generator<&'a mut Context<'b>>`, so we need to pass +/// a) Coroutines cannot implement `for<'a, 'b> Coroutine<&'a mut Context<'b>>`, so we need to pass /// a raw pointer (see <https://github.com/rust-lang/rust/issues/68923>). /// b) Raw pointers and `NonNull` aren't `Send` or `Sync`, so that would make every single future /// non-Send/Sync as well, and we don't want that. |
