News for hackers. Stuff that matters.
Re:Learn Rust with entirely too many linked lists (2019) by zozbot234 on Saturday February 22, 2020 @11:25AM (#22391779)
> if using unsafe does not allow for the ‘borrow-checker’ to be turned off and allow for code which doesn’t abide by the checker’s requirements

It allows the latter. 'Code that doesn't abide by the checker's requirements' uses separate facilities that are only allowed in unsafe code. This means that `unsafe` doesn't have to turn off anything, and further pinpoints the parts of the code where caution is needed in order to maintain the invariants that Safe Rust is based on.

There are no comments on this comment yet.