3 ms·
I guess this is like putting an unsafe { } around all your code...
by djdjfljfgddfg 11mo ago
I guess this is like putting an unsafe { } around all your code...
- aw1621107 11mo 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 11mo agoNo, unsafe doesn't disable the borrow checker.
- djdjfljfgddfg 11mo agolol, that'll teach me :D