3 ms·
I figured that working outside the borrow checker meant using unsafe.
I figured that working outside the borrow checker meant using unsafe.
Or interior mutability. Or sync+send. Or...
There are lots of ways to shape your solution.
That's just the most obvious smell. But this also happens if you start passing indices around, using them much like unchecked pointers.