Remove parse_next from TokenStream public interface

Same reason as in c776f7.
This commit is contained in:
Aodhnait Étaín 2021-05-24 20:00:05 +01:00
parent d90f6763d5
commit 5e2bdfa091

View file

@ -308,7 +308,7 @@ impl<'a> TokenStream<'a> {
self.cursor += length;
}
pub fn parse_next(&mut self) -> Option<Token> {
fn parse_next(&mut self) -> Option<Token> {
let mut chars = self.chars();
let token = match chars.next()? {