this post was submitted on 20 Feb 2025
56 points (96.7% liked)

Programming

21526 readers
451 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Finally the new Rust 1.85.0 update is here, with a new Rust Edition 2024.

top 4 comments
sorted by: hot top controversial new old
[–] FizzyOrange@programming.dev 9 points 4 months ago

So glad they made the sane move and fixed std::env::home_dir(). The previous situation of having it deprecated due to fairly insignificant reasons, while recommending an abandoned crate instead was just silly.

[–] livingcoder@programming.dev 5 points 4 months ago

I love the async closure update and the if-let scoping fix.

[–] thingsiplay@beehaw.org 1 points 4 months ago (1 children)
[–] TehPers@beehaw.org 2 points 4 months ago

It was mentioned in the notes for 1.84.0 that they began migrating to it. They might be doing it without an edition change if it's backwards compatible (or if the incompatibilities are considered bugs).