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.
1 parent 99ff276 commit d5f2bb2Copy full SHA for d5f2bb2
src/librustdoc/clean/types.rs
@@ -1804,7 +1804,9 @@ impl From<hir::PrimTy> for PrimitiveType {
1804
crate enum Visibility {
1805
/// `pub`
1806
Public,
1807
- /// visibility inherited from parent (e.g. for enum variant fields)
+ /// Visibility inherited from parent.
1808
+ ///
1809
+ /// For example, this is the visibility of private items and of enum variants.
1810
Inherited,
1811
/// `pub(crate)`, `pub(super)`, or `pub(in path::to::somewhere)`
1812
Restricted(DefId),
0 commit comments