Skip to content

Commit

Permalink
chore: remove one more useless thing
Browse files Browse the repository at this point in the history
  • Loading branch information
numToStr committed Oct 28, 2022
1 parent 9a28c8a commit 54aef46
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,7 @@ impl Lexer {
let expr = dotted.clone().then_ignore(assign);

choice((
triple.ignore_then(choice((
tag,
variant,
newline().to(TagType::Comment(String::new())),
comment.map(TagType::Comment),
))),
triple.ignore_then(choice((tag, variant, comment.map(TagType::Comment)))),
func.clone()
.ignore_then(dotted)
.map(|(prefix, kind, name)| TagType::Func { prefix, name, kind }),
Expand Down

0 comments on commit 54aef46

Please sign in to comment.