From 664f49d25a264459a735a5c1d6e17c42a47ce43a Mon Sep 17 00:00:00 2001 From: Atif Aziz Date: Thu, 8 Feb 2024 23:58:09 +0100 Subject: [PATCH] Replace Rust generators references with coroutines See also: - rust-lang/rust#116958: https://github.com/rust-lang/rust/pull/116958 --- src/linq/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linq/index.md b/src/linq/index.md index 761c9a0..7196515 100644 --- a/src/linq/index.md +++ b/src/linq/index.md @@ -391,7 +391,7 @@ _iterator method_. The return type of an iterator method can be an `IEnumerable` or an `IEnumerator`. The compiler then converts the body of the method into a concrete implementation of the return type, instead of the developer having to write a full-blown class each time. -_[Generators][generators.rs]_, as they're called in Rust, are still considered +_[Coroutines][coroutines.rs]_, as they're called in Rust, are still considered an unstable feature at the time of this writing. - [generators.rs]: https://doc.rust-lang.org/stable/unstable-book/language-features/generators.html + [coroutines.rs]: https://doc.rust-lang.org/unstable-book/language-features/coroutines.html