Skip to content

Commit

Permalink
Clarify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Granddave committed Dec 25, 2023
1 parent 89cab3f commit 868dfa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ impl fmt::Display for ASTConstantValue {
pub struct ASTConstantNode {
/// The name of the constant (e.g. `max_items`)
pub identifier: String,
/// The value of the constant (e.g. `$FF`)
/// The value of the constant
pub value: ASTConstantValue,
}

Expand Down Expand Up @@ -418,7 +418,7 @@ impl fmt::Display for ASTNode {
}
}

/// A AST (Abstract Syntax Tree) is a collection of AST nodes.
/// An AST (Abstract Syntax Tree) is a collection of AST nodes.
///
/// The AST is the result of parsing the source code.
pub type AST = Vec<ASTNode>;

0 comments on commit 868dfa8

Please sign in to comment.