make compiler happy after rebasing

This commit is contained in:
Sébastien Besnier 2020-11-08 13:55:01 +01:00
parent 66392eeeaf
commit 099c56fcf6
3 changed files with 3 additions and 7 deletions

View file

@ -214,7 +214,7 @@ enum LineState {
pub fn line_comment<'a>() -> impl Parser<'a, &'a str> {
then(
and!(ascii_char('#'), optional(ascii_string("# "))),
and!(ascii_char(b'#'), optional(ascii_string("# "))),
|_arena: &'a Bump, state: State<'a>, (_, opt_doc)| {
if opt_doc != None {
return Err(unexpected(3, state, Attempting::LineComment));