Traits now support async fn
and -> impl Trait
(with some limitations), the compiler got faster, version =
in Cargo.toml is now optional, and many small functions have been stabilized!
Traits now support async fn
and -> impl Trait
(with some limitations), the compiler got faster, version =
in Cargo.toml is now optional, and many small functions have been stabilized!
You could argue that C++'s new is Rust’s Box::new, and delete is replaced by RAII. Same concepts but way better ergonomy.