We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e510c0c + 047df64 commit 09c895eCopy full SHA for 09c895e
src/visibility-and-privacy.md
@@ -39,8 +39,9 @@ pub enum State {
39
With the notion of an item being either public or private, Rust allows item
40
accesses in two cases:
41
42
-1. If an item is public, then it can be used externally through any of its
43
- public ancestors.
+1. If an item is public, then it can be accessed externally from some module
+ `m` if you can access all the item's parent modules from `m`. You can
44
+ also potentially be able to name the item through re-exports. See below.
45
2. If an item is private, it may be accessed by the current module and its
46
descendants.
47
0 commit comments