未验证 提交 d5f2bb28 编写于 作者: C Camelid 提交者: GitHub

Tweak docs

Co-authored-by: NJoshua Nelson <joshua@yottadb.com>
上级 99ff2767
......@@ -1804,7 +1804,9 @@ fn from(prim_ty: hir::PrimTy) -> 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),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册