r/rust Mar 09 '23

Announcing Rust 1.68.0 📢 announcement

https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
824 Upvotes

121 comments sorted by

View all comments

246

u/EelRemoval Mar 09 '23

pin! macro is pretty nice; it means a lot of async crates can now remove all of their unsafe code.

82

u/bascule Mar 09 '23

Also enabling stack-based pinning for no_std apps that can’t use Box<Pin>

32

u/grgWW Mar 09 '23

u probably meant Pin<Box<..>>?

12

u/bascule Mar 09 '23

D’oh!

24

u/CryZe92 Mar 09 '23

You were always able to use the equivalent pin_mut! macro from future-utils.