s/generator/coroutine/
This commit is contained in:
parent
60956837cf
commit
e96ce20b34
468 changed files with 2201 additions and 2197 deletions
|
@ -1,5 +1,5 @@
|
|||
// check-pass
|
||||
// manually desugared version of an `async fn` (but with a closure instead of a generator)
|
||||
// manually desugared version of an `async fn` (but with a closure instead of a coroutine)
|
||||
pub fn a() -> impl Fn() -> u32 {
|
||||
|| content::doesnt::matter()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue