Skip to content

Commit

Permalink
Minor comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
pubmodmatt committed Jan 10, 2025
1 parent e191037 commit fede284
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ pub(crate) enum LitExpr {

impl LitExpr {
// LitExpr ::= LitPrimitive | LitObject | LitArray | PathSelection
// LitPrimitive ::= LitString | LitNumber | "true" | "false" | "null"
pub(crate) fn parse(input: Span) -> ParseResult<WithRange<Self>> {
let (input, _) = spaces_or_comments(input)?;
alt((
Expand All @@ -57,6 +56,7 @@ impl LitExpr {
))(input)
}

// LitPrimitive ::= LitString | LitNumber | "true" | "false" | "null"
fn parse_primitive(input: Span) -> ParseResult<WithRange<Self>> {
alt((
map(parse_string_literal, |s| s.take_as(Self::String)),
Expand Down

0 comments on commit fede284

Please sign in to comment.