Fearless Concurrency in Firefox Quantum
Could someone give a very simple, to-the-point example of a kind of concurrency bug that Rust prevents, for those of us who don't know Rust? (The author explicitly fails to think of any, so I'm hoping someone else can. It'd be more convincing to see one.)<p>EDIT: I meant a code example, not a paragraph. And I would obviously expect to see how the intended goal is achieved <i>without</i> the bug... otherwise it'd be trivial to prevent any bug (just make everything impossible).