Make skip_whitespace private again

It was never supposed to be part of a public interface of TokenStream,
but it got added during debugging lifetimes issue. This commit finally
reverts it back to what it was supposed to be.
This commit is contained in:
Aodhnait Étaín 2021-05-23 10:10:17 +01:00
parent ab98d50a53
commit c776f79f82
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ impl<'a> TokenStream<'a> {
return self.source[self.cursor..].chars(); return self.source[self.cursor..].chars();
} }
pub fn skip_whitespace(&mut self) { fn skip_whitespace(&mut self) {
let mut chars = self.chars().peekable(); let mut chars = self.chars().peekable();
let mut length = 0; let mut length = 0;