Rust counter compiles but loses increments

Code reviewMedium28 min

Your task

Review this Rust code that aggregates results across threads (assume it's been forced to compile with unsafe interior mutability).