Skip to content

Commit 0f63519

Browse files
authored
Merge pull request #360 from s3rvac/fix-grammar-in-visibility-and-privacy
Fix grammar in the "Visibility and Privacy" section
2 parents ce27a34 + f90de3a commit 0f63519

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/visibility-and-privacy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ visible within a given scope. The rules for `pub` restrictions are as follows:
150150
- `pub(in path)` makes an item visible within the provided `path`. `path` must
151151
be a parent module of the item whose visibility is being declared.
152152
- `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)`.
153+
- `pub(super)` makes an item visible to the parent module. This is equivalent
154+
to `pub(in super)`.
155155
- `pub(self)` makes an item visible to the current module. This is equivalent
156156
to `pub(in self)`.
157157

0 commit comments

Comments
 (0)