mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
fix trailing whitespace
This commit is contained in:
parent
db7e604643
commit
59f547b2be
4 changed files with 47 additions and 41 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue