News for hackers. Stuff that matters.
Re:Rust – How do I create a global, mutable singleton? (2015) by eximius on Wednesday July 22, 2020 @11:57AM (#23918363)
Arc is still only necessary if your T has interior mutability or some other reason to not be Sync.
Re:Rust – How do I create a global, mutable singleton? (2015) by jupp0r on Wednesday July 22, 2020 @12:36PM (#23918791)
OP mentioned that T is mutable