mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
6 lines
173 B
Rust
6 lines
173 B
Rust
// check-pass
|
|
// manually desugared version of an `async fn` (but with a closure instead of a generator)
|
|
pub fn a() -> impl Fn() -> u32 {
|
|
|| content::doesnt::matter()
|
|
}
|