4 ms·
Rust can throw away constness in unsafe blocks, which carries the same caveat emptor that const_cast carries.
by nwallin 7y ago
Rust can throw away constness in unsafe blocks, which carries the same caveat emptor that const_cast carries.
- steveklabnik 7y agoOnly in certain circumstances, though.