remove unused annotation

This commit is contained in:
Sébastien Besnier 2020-09-24 17:40:44 +02:00
parent efe3497cc9
commit bffc597e4e

View file

@ -530,7 +530,7 @@ pub fn def<'a>(min_indent: u16) -> impl Parser<'a, Def<'a>> {
Either::Second(comment) => Some(comment),
}
);
let spaces_then_comment_or_newline: dyn Parser<'a, Option<&'a str>> =
let spaces_then_comment_or_newline =
skip_first!(zero_or_more!(ascii_char(' ')), comment_or_newline);
let annotated_body = and!(
annotation,