2 ms·
The only time this gets into trouble is when you bridge the &/&mut and *const/*mut worlds. If you need the latter, try to stay within them as much as possible,
by steveklabnik 2y ago
The only time this gets into trouble is when you bridge the &/&mut and *const/*mut worlds. If you need the latter, try to stay within them as much as possible, if not entirely.