Use bit-flags for options.

This commit is contained in:
Stephen Chung
2022-05-19 21:40:22 +08:00
parent 42d2718e24
commit 130b93d029
8 changed files with 124 additions and 121 deletions

View File

@@ -15,7 +15,7 @@ pub enum FnAccess {
}
bitflags! {
/// _(internals)_ A type that holds a configuration option with bit-flags.
/// _(internals)_ Bit-flags containing [`AST`][crate::AST] node configuration options.
/// Exported under the `internals` feature only.
pub struct ASTFlags: u8 {
/// No options for the [`AST`][crate::AST] node.