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