Announcing Rust 1.80.0
Announcing Rust 1.80.0
blog.rust-lang.org Announcing Rust 1.80.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
6
comments
Time to
cargo rm once_cell
!10 0 ReplyThank you and goodbye to
lazy-static
, I'll think of you every time I use a regex.2 0 ReplyYou may be interested in
lazy-regex
.2 0 Reply
Immediately used the LazyLock +
static
to build a quasi-constant which does an expensive check only once at program start, and only when it's actually used. Pretty cool.5 0 ReplyIt's really nice how you can now iterate over a boxed slice using
for x in &y
rather than being forced to usefor x in y.iter()
.1 0 Reply
6
comments
Scroll to top