4 ms·
I guess this is like putting an unsafe { } around all your code...
by djdjfljfgddfg 9mo ago
I guess this is like putting an unsafe { } around all your code...
- aw1621107 9mo agoNot really. Unsafe blocks don't change the semantics of Rust code or disable Rust's normal checks, so if you have something that doesn't compile due to a borrow checker error adding an unsafe block around that code will do precisely nothing to get around that error.
- Narishma 9mo agoNo, unsafe doesn't disable the borrow checker.
- djdjfljfgddfg 9mo agolol, that'll teach me :D