3 ms·
Unsafe does not do that; mostly unsafe allows to dereference pointers, but does not disable the type system. Borrowing rules are still enforced (eg you cannot
by afiori 5y ago
Unsafe does not do that; mostly unsafe allows to dereference pointers, but does not disable the type system.
Borrowing rules are still enforced (eg you cannot write with a read-only pointer)