4 ms·
Plain `pub` actually isn't quite local, and that's part of the confusion that `crate` is intended to address. There's also the confusion of looking at a `pub`
by Rusky 8y ago
Plain `pub` actually isn't quite local, and that's part of the confusion that `crate` is intended to address.
There's also the confusion of looking at a `pub` declaration and not knowing whether or not it's visible to the parent module or visible to the world- at which point maybe you don't want a purely local visibility mechanism.
- ben0x539 8y agoNah it's extremely local, that's why everybody is mad at it