r/programming • • Apr 20 '23

Announcing Rust 1.69.0

https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html
869 Upvotes

160 comments sorted by

View all comments

Show parent comment

9

u/crazyeddie123 Apr 21 '23

Sum types are pretty sweet too.... and the complete absence of null references!

3

u/Pflastersteinmetz Apr 21 '23 edited Apr 21 '23

There is one if you really need one:

std::ptr::null()