SorteKanin@feddit.dk to Rust@programming.dev · 4 months agoThe Handle traitsmallcultfollowing.comexternal-linkmessage-square8linkfedilinkarrow-up119arrow-down10
arrow-up119arrow-down1external-linkThe Handle traitsmallcultfollowing.comSorteKanin@feddit.dk to Rust@programming.dev · 4 months agomessage-square8linkfedilink
minus-squareINeedMana@piefed.ziplinkfedilinkEnglisharrow-up1·4 months agoI mean, keep the ref-counting. Just from the syntax perspective. Aligning with the example in the post: & before Arc would increment reference count, before a Mutex would reference the same object as it does now
I mean, keep the ref-counting. Just from the syntax perspective. Aligning with the example in the post: & before Arc would increment reference count, before a Mutex would reference the same object as it does now