From 84558bd2067214ef59d1f70533a0cc69bc7c052a Mon Sep 17 00:00:00 2001 From: Daniel Kukula Date: Thu, 7 Nov 2024 21:30:39 +0100 Subject: [PATCH] remove comment --- src/tokenizer.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tokenizer.rs b/src/tokenizer.rs index 4d9b4f9..0d2ef78 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -115,7 +115,6 @@ fn get_next_token<'a>( .or_else(|_| get_any_other_char(input)) } fn get_double_colon_token(input: &str) -> IResult<&str, Token<'_>> { - // Use the tag combinator to match the "::" in the input tag("::")(input).map(|(input, token)| { ( input, @@ -1087,6 +1086,7 @@ fn get_operator_token(input: &str) -> IResult<&str, Token<'_>> { tag(">"), tag("="), tag("|"), + tag(":"), tag("-"), tag("~"), tag("*"), @@ -1096,7 +1096,6 @@ fn get_operator_token(input: &str) -> IResult<&str, Token<'_>> { tag("?"), tag("#"), tag("/"), - tag(":"), )); map(