Skip to content

Commit

Permalink
Tweak docs
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
  • Loading branch information
camelid and Joshua Nelson authored Mar 23, 2021
1 parent 99ff276 commit d5f2bb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustdoc/clean/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,9 @@ impl From<hir::PrimTy> for PrimitiveType {
crate enum Visibility {
/// `pub`
Public,
/// visibility inherited from parent (e.g. for enum variant fields)
/// Visibility inherited from parent.
///
/// For example, this is the visibility of private items and of enum variants.
Inherited,
/// `pub(crate)`, `pub(super)`, or `pub(in path::to::somewhere)`
Restricted(DefId),
Expand Down

0 comments on commit d5f2bb2

Please sign in to comment.