Solve the rest of the compiler warnings.

This commit is contained in:
Tom Alexander
2023-04-21 18:42:31 -04:00
parent a1724dae52
commit 18323a2b43
13 changed files with 16 additions and 31 deletions

View File

@@ -34,8 +34,8 @@ pub fn comment<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str,
let parser_context = context.with_additional_node(ContextElement::Context("comment"));
let comment_line_matcher = parser_with_context!(comment_line)(&parser_context);
let exit_matcher = parser_with_context!(exit_matcher_parser)(&parser_context);
let (remaining, first_line) = comment_line_matcher(input)?;
let (remaining, remaining_lines) =
let (remaining, _first_line) = comment_line_matcher(input)?;
let (remaining, _remaining_lines) =
many0(preceded(not(exit_matcher), comment_line_matcher))(remaining)?;
let (remaining, _trailing_ws) =