Skip to content

Commit 54aef46

Browse files
committed
chore: remove one more useless thing
1 parent 9a28c8a commit 54aef46

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/lexer.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,7 @@ impl Lexer {
270270
let expr = dotted.clone().then_ignore(assign);
271271

272272
choice((
273-
triple.ignore_then(choice((
274-
tag,
275-
variant,
276-
newline().to(TagType::Comment(String::new())),
277-
comment.map(TagType::Comment),
278-
))),
273+
triple.ignore_then(choice((tag, variant, comment.map(TagType::Comment)))),
279274
func.clone()
280275
.ignore_then(dotted)
281276
.map(|(prefix, kind, name)| TagType::Func { prefix, name, kind }),

0 commit comments

Comments
 (0)