The Handle trait (smallcultfollowing.com)
submitted 10 months ago by to c/rust@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 10 months ago

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

  • source
  • parent