2 ms·
You're right, it's not; I was just showing the smallest code. :) This is unsafe specifically because of the mutable static; you can deal with that in a few dif
by steveklabnik 10y ago
You're right, it's not; I was just showing the smallest code. :)
This is unsafe specifically because of the mutable static; you can deal with that in a few different ways, but that wasn't the point of the example.