snaggen to RustEnglish · 3 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 to RustEnglish · 3 months agomessage-square19fedilink
minus-squareBB_Clinkfedilinkarrow-up8·edit-23 months agoIf lock-ergonomicsⓒ is as relevant to you as indexing, you’re doing it wrong. I would rather take indexing returning Results than the other way around. One can always wrap any code in {||{ //.. }}() and use question marks liberally anyway (I call them stable try blocks 😉).
If lock-ergonomicsⓒ is as relevant to you as indexing, you’re doing it wrong.
I would rather take indexing returning
Result
s than the other way around.One can always wrap any code in
{||{ //.. }}()
and use question marks liberally anyway (I call them stable try blocks 😉).