From f7f3989514535518217a86e5478e569519a254b7 Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Sun, 24 Mar 2024 21:23:01 +0800 Subject: [PATCH] chore: clippy --- src/parser.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/parser.rs b/src/parser.rs index 7484bf6..23d986d 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -9,15 +9,15 @@ pub enum Kind { /// `?` 63 /// Optional: `:name?-` Optional, - /// Optional Segment: `/:name?/` or `/:name?` + /// Optional segment: `/:name?/` or `/:name?` OptionalSegment, // Optional, /// `+` 43 OneOrMore, /// `*` 42 - /// ZeroOrMore: `*-` + /// Zero or more: `*-` ZeroOrMore, - /// ZeroOrMore Segment: `/*/` or `/*` + /// Zero or more segment: `/*/` or `/*` ZeroOrMoreSegment, // TODO: regexp }