ffs
This commit is contained in:
parent
c136fbbcb9
commit
5baad95074
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ impl<'a> Cursor<'a> {
|
|||
}
|
||||
|
||||
pub fn peek(&self) -> Option<char> {
|
||||
self.nth(1)
|
||||
self.nth(0)
|
||||
}
|
||||
|
||||
pub fn nth(&self, n: usize) -> Option<char> {
|
||||
|
|
Loading…
Reference in a new issue