Nemeski@mander.xyz to Rust@programming.dev · 2 months agoAnnouncing Rust 1.89.0blog.rust-lang.orgexternal-linkmessage-square3linkfedilinkarrow-up148
arrow-up148external-linkAnnouncing Rust 1.89.0blog.rust-lang.orgNemeski@mander.xyz to Rust@programming.dev · 2 months agomessage-square3linkfedilink
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up10·2 months agoResult::flatten() is probably my favorite addition, but those lifetime linter changes might be really good, too.
minus-squareBB_C@programming.devlinkfedilinkarrow-up2·2 months ago Result::flatten() is probably my favorite addition It’s rare to a have a negative reaction to a library addition. But I don’t like this one at all actually. For me, error contexts are as important as the errors themselves. And ergonomically helping with muddying these contexts is not a good thing!
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up2·2 months agoI’m more excited about File::lock and friends. I don’t currently have a use-case, but surely it’ll help w/ something like a SQLite implementation in Rust.
Result::flatten()
is probably my favorite addition, but those lifetime linter changes might be really good, too.It’s rare to a have a negative reaction to a library addition. But I don’t like this one at all actually.
For me, error contexts are as important as the errors themselves. And ergonomically helping with muddying these contexts is not a good thing!
I’m more excited about
File::lock
and friends. I don’t currently have a use-case, but surely it’ll help w/ something like a SQLite implementation in Rust.