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 c9f0119 + d6e30ca commit 3791cdfCopy full SHA for 3791cdf
src/visibility-and-privacy.md
@@ -1,5 +1,14 @@
1
# Visibility and Privacy
2
3
+> **<sup>Syntax<sup>**
4
+> _Visibility_ :
5
+> EMPTY
6
+> | `pub`
7
+> | `pub` `(` `crate` `)`
8
+> | `pub` `(` `in` _ModulePath_ `)`
9
+> | `pub` `(` `in`<sup>?</sup> `self` `)`
10
+> | `pub` `(` `in`<sup>?</sup> `super` `)`
11
+
12
These two terms are often used interchangeably, and what they are attempting to
13
convey is the answer to the question "Can this item be used at this location?"
14
0 commit comments