We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce27a34 + f90de3a commit 0f63519Copy full SHA for 0f63519
src/visibility-and-privacy.md
@@ -150,8 +150,8 @@ visible within a given scope. The rules for `pub` restrictions are as follows:
150
- `pub(in path)` makes an item visible within the provided `path`. `path` must
151
be a parent module of the item whose visibility is being declared.
152
- `pub(crate)` makes an item visible within the current crate.
153
-- `pub(super)` makes an item visible to the parent module. This equivalent to
154
-`pub(in super)`.
+- `pub(super)` makes an item visible to the parent module. This is equivalent
+ to `pub(in super)`.
155
- `pub(self)` makes an item visible to the current module. This is equivalent
156
to `pub(in self)`.
157
0 commit comments