snaggen@programming.dev to Rust@programming.devEnglish · 2 months ago[BLOG] Why Rust mutexes look like they do - Clifflecliffle.comexternal-linkmessage-square19fedilinkarrow-up155arrow-down10
arrow-up155arrow-down1external-link[BLOG] Why Rust mutexes look like they do - Clifflecliffle.comsnaggen@programming.dev to Rust@programming.devEnglish · 2 months agomessage-square19fedilink
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up1·2 months agoExactly! My code has a handful of “expect()” calls in it, and each one self-documents why it’s okay. It’s like a comment, but it appears in logs if it ever triggers.
Exactly! My code has a handful of “expect()” calls in it, and each one self-documents why it’s okay. It’s like a comment, but it appears in logs if it ever triggers.