3 ms·
Ah so locks come into play when you deliberately disable compile checks?
by crimsonalucard 8y ago
Ah so locks come into play when you deliberately disable compile checks?
- uabstraction 8y agoNot exactly. Disabling the borrow checker is an internal implementation detail of the locking types, but it happens opaquely to the code using the locks. The locking types make assurances with regards to the lifetimes of their parameters / contents / return values and these are still enforced by the compiler.
- deleted 8y ago[deleted]