Nadhmi Jazi
banner
njazi.bsky.social
Nadhmi Jazi
@njazi.bsky.social
Reposted by Nadhmi Jazi
🦀 #rustlang 1.86.0 has been released! ✨

This one has a few very nice new things, including trait upcasting, Vec::pop_if, and get_disjoint_mut!

blog.rust-lang.org/2025/04/03/
blog.rust-lang.org
April 3, 2025 at 10:13 AM
Thanks to all the helpful replies I found a way to solve my issue. If anyone else runs into it, here is how you can efficiently use FromStr on a String with a no-op path for String to String: lucumr.pocoo.org/2025/3/23/fr...
Bridging the Efficiency Gap Between FromStr and String
A trick to convert arbitrary values from owned strings.
lucumr.pocoo.org
March 24, 2025 at 5:36 PM
I know that this does not work today (but honestly it should?). Yet does someone have an interesting workaround they can think of?
March 24, 2025 at 4:52 PM
repost to upset a C++ programmer:

int main() {
int a = 0xE + 1; // compiles
int b = 0xE+1; // doesn't
}
March 18, 2025 at 8:28 PM
repo.new and gist.new are two URLs I use frequently that I still don't think people know about
January 15, 2025 at 4:59 PM