Re:Copying data is wasteful, mutating data is dangerous
by nwallin on Thursday January 09, 2020 @03:49PM
(#22005534)
Rust can throw away constness in unsafe blocks, which carries the same caveat emptor that const_cast carries.
[ Parent
| on HN ]
Re:Copying data is wasteful, mutating data is dangerous
by steveklabnik on Thursday January 09, 2020 @04:42PM
(#22006190)
Only in certain circumstances, though.