jwr1@kbin.earth to Rust@programming.dev · 5 days agoAnnouncing Rust 1.92.0 | Rust Blogblog.rust-lang.orgexternal-linkmessage-square13fedilinkarrow-up135arrow-down10cross-posted to: rust@programming.dev
arrow-up135arrow-down1external-linkAnnouncing Rust 1.92.0 | Rust Blogblog.rust-lang.orgjwr1@kbin.earth to Rust@programming.dev · 5 days agomessage-square13fedilinkcross-posted to: rust@programming.dev
minus-squareINeedMana@piefed.ziplinkfedilinkEnglisharrow-up1·4 days ago use core::convert::Infallible; fn can_never_fail() -> Result<(), Infallible> { Judging by recently discovered use of unwrap this might be a trap for some ;D
Judging by recently discovered use of
unwrapthis might be a trap for some ;DExpand.