34
Was async fn a mistake?
(seanmonstar.com)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
I totally get the
= async { body }(and I think I would prefer it for everything since it makes one liner likefn add(a: i32, b: i32) -> i32 = a+bmuch nicer and compact). I can also get the "ignore associated type” part. But I fail to see why removing theimplin-> impl Futureis useful.