KillTheMule@programming.devtoRust@programming.dev•Auto debloat unused `pub` items from dependencies.
3·
9 days agoSure, but isn’t this in a dependency? Can’t be reached when only importing your crate anyways? And if you’re building a binary, I don’t think this could really considered exported, is what I mean :)
unsafe
does not disable the borrow checker. It does however give you abilities to circumvent it, namely by letting you dereference pointers, which are not subject to the borrow checker.