jwr1 ( jwr1@kbin.earth ) to Rust@programming.dev · 1 year agoAnnouncing Rust 1.92.0 | Rust Blogblog.rust-lang.orgexternal-linkmessage-square13linkfedilinkarrow-up130cross-posted to: rust@programming.dev
arrow-up130external-linkAnnouncing Rust 1.92.0 | Rust Blogblog.rust-lang.orgjwr1 ( jwr1@kbin.earth ) to Rust@programming.dev · 1 year agomessage-square13linkfedilinkcross-posted to: rust@programming.dev
minus-squareINeedMana ( INeedMana@piefed.zip ) linkfedilinkEnglisharrow-up2·1 year 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.