Show that trailing whitespace belongs to comments.
This commit is contained in:
parent
26e0ad5800
commit
d1a7d0b835
@ -1,5 +1,8 @@
|
||||
# Comment
|
||||
# indented line
|
||||
# At the top of the file
|
||||
|
||||
|
||||
|
||||
foo
|
||||
# Another comment
|
||||
|
@ -8,3 +8,8 @@ pub fn comment<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str,
|
||||
start_of_line(context, input)?;
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn comment_line<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, &'s str> {
|
||||
start_of_line(context, input)?;
|
||||
todo!()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user