SorteKanin@feddit.dk to Rust@programming.dev · 3 months agoThe Handle traitsmallcultfollowing.comexternal-linkmessage-square8fedilinkarrow-up119arrow-down10cross-posted to: lobsters
arrow-up119arrow-down1external-linkThe Handle traitsmallcultfollowing.comSorteKanin@feddit.dk to Rust@programming.dev · 3 months agomessage-square8fedilinkcross-posted to: lobsters
minus-squareINeedMana@piefed.ziplinkfedilinkEnglisharrow-up1·3 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