Skip to content

Commit

Permalink
Make i's inferred type explicit to be consistent with depth
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 15, 2022
1 parent 46e9bd6 commit c694208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ fn block_comment(input: Cursor) -> PResult<&str> {

let mut depth = 0usize;
let bytes = input.as_bytes();
let mut i = 0;
let mut i = 0usize;
let upper = bytes.len() - 1;

while i < upper {
Expand Down

0 comments on commit c694208

Please sign in to comment.