From 84face341acae0102c3a57a1fb6b454f252e48ea Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Tue, 15 Feb 2022 15:49:03 +0800 Subject: [PATCH] Fix doc comments. --- src/ast/flags.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ast/flags.rs b/src/ast/flags.rs index 15b664e2..1e0fdc63 100644 --- a/src/ast/flags.rs +++ b/src/ast/flags.rs @@ -13,8 +13,8 @@ pub enum FnAccess { Private, } -/// A type that holds a configuration option with bit-flags. Exported under the `internals` feature -/// only. +/// _(internals)_ A type that holds a configuration option with bit-flags. +/// Exported under the `internals` feature only. /// /// Functionality-wise, this type is a naive and simplistic implementation of /// [`bit_flags`](https://crates.io/crates/bitflags). It is re-implemented to avoid pulling in yet @@ -113,7 +113,8 @@ impl BitAndAssign for OptionFlags { } } -/// Option bit-flags for [`AST`][super::AST] nodes. +/// _(internals)_ Option bit-flags for [`AST`][super::AST] nodes. +/// Exported under the `internals` feature only. #[allow(non_snake_case)] pub mod AST_OPTION_FLAGS { use super::OptionFlags;