s/generator/coroutine/
This commit is contained in:
@@ -4,7 +4,7 @@ use rustc_hir::intravisit::nested_filter::NestedFilter;
|
||||
/// that are inside of an item-like.
|
||||
///
|
||||
/// Notably, possible occurrences of bodies in non-item-like things
|
||||
/// include: closures/generators, inline `const {}` blocks, and
|
||||
/// include: closures/coroutines, inline `const {}` blocks, and
|
||||
/// constant arguments of types, e.g. in `let _: [(); /* HERE */];`.
|
||||
///
|
||||
/// **This is the most common choice.** A very common pattern is
|
||||
|
||||
Reference in New Issue
Block a user