Remove unnecessary context from some util functions.
All checks were successful
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded

This commit is contained in:
Tom Alexander
2023-08-24 19:29:00 -04:00
parent e5224cda63
commit cf37bc4111
20 changed files with 38 additions and 55 deletions

View File

@@ -300,10 +300,9 @@ fn headline<'r, 's>(
exit_matcher: &headline_end,
}));
let standard_set_object_matcher = parser_with_context!(standard_set_object)(&parser_context);
let start_of_line_matcher = parser_with_context!(start_of_line)(&parser_context);
let (remaining, (_sol, star_count, ws, title, _line_ending)) = tuple((
start_of_line_matcher,
start_of_line,
many1_count(tag("*")),
space1,
many1(standard_set_object_matcher),