Skip to content

Commit 9990e24

Browse files
committed
fix: clippy
1 parent 626462e commit 9990e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl<'a> Parser<'a> {
8484
}
8585
}
8686

87-
self.input[start..].as_bytes()
87+
&self.input.as_bytes()[start..]
8888
}
8989

9090
fn parameter(&mut self) -> (Position, Kind) {

0 commit comments

Comments
 (0)