mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +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()
|
|
}
|