fix trailing whitespace

This commit is contained in:
Folkert 2021-02-03 23:06:18 +01:00
parent db7e604643
commit 59f547b2be
4 changed files with 47 additions and 41 deletions

View file

@ -195,11 +195,6 @@ where
/// Zero or more (spaces/comments/newlines).
pub fn space0<'a>(min_indent: u16) -> impl Parser<'a, &'a [CommentOrNewline<'a>]> {
// move |a, s| {
// dbg!(&s, min_indent);
//
// dbg!(spaces(false, min_indent).parse(a, s))
// }
spaces(false, min_indent)
}
@ -209,11 +204,6 @@ pub fn space1<'a>(min_indent: u16) -> impl Parser<'a, &'a [CommentOrNewline<'a>]
// exactly one space followed by char that isn't [' ', '\n', or '#'], and
// if so, return empty slice. The case where there's exactly 1 space should
// be by far the most common.
// move |a, s| {
// dbg!(&s, min_indent);
//
// dbg!(spaces(true, min_indent).parse(a, s))
// }
spaces(true, min_indent)
}