Tweak docs
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
parent
99ff2767bf
commit
d5f2bb2899
1 changed files with 3 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue