snaggen@programming.dev to Rust@programming.devEnglish · 2 months ago[BLOG] Why Rust mutexes look like they do - Clifflecliffle.comexternal-linkmessage-square18fedilinkarrow-up153arrow-down10
arrow-up153arrow-down1external-link[BLOG] Why Rust mutexes look like they do - Clifflecliffle.comsnaggen@programming.dev to Rust@programming.devEnglish · 2 months agomessage-square18fedilink
minus-squaresugar_in_your_tealinkfedilinkarrow-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.