hey @rustlang, I'm so confused... is there some situation where the literal constant 5 would need ref counting? let five = Arc::new(5); WAT? https://doc.rust-lang.org/std/sync/struct.Arc.html#method.new …
-
-
I seriously cannot figure out the syntax for using Arc for my use case from reading the API docs.... are there other good references / examples ?
-
The book talks about Arc in chapter 20, but other than that and the page you linked, that’s it! If you get the chance, filing a bug with the questions you have would be good; sorry you’re struggling :(
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.