Skip to content

Commit

Permalink
Fix pretty test
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkuu committed Dec 5, 2018
1 parent 4e31282 commit f423ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/parse/lexer/comments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ fn all_whitespace(s: &str, col: CharPos) -> Option<usize> {
if !ch.is_whitespace() {
return None;
}
idx = i;
idx = i + ch.len_utf8();
}
Some(idx)
}
Expand Down

0 comments on commit f423ff7

Please sign in to comment.