File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,7 @@ impl Comments {
80
80
fn parse_checked ( path : & Path , content : & str ) -> Result < Self > {
81
81
let mut this = Self :: default ( ) ;
82
82
83
- // The line that a `|` will refer to
84
- let mut fallthrough_to = None ;
83
+ let mut fallthrough_to = None ; // The line that a `|` will refer to.
85
84
for ( l, line) in content. lines ( ) . enumerate ( ) {
86
85
let l = l + 1 ; // enumerate starts at 0, but line numbers start at 1
87
86
this. parse_checked_line ( l, & mut fallthrough_to, line) . map_err ( |err| {
@@ -190,6 +189,7 @@ impl Comments {
190
189
Some ( i) => {
191
190
let ( command, args) = command. split_at ( i) ;
192
191
let mut args = args. chars ( ) ;
192
+ // Commands are separated from their arguments by ':' or ' '
193
193
let next = args
194
194
. next ( )
195
195
. expect ( "the `position` above guarantees that there is at least one char" ) ;
You can’t perform that action at this time.
0 commit comments