Remove parse_next from TokenStream public interface
Same reason as in c776f7.
This commit is contained in:
parent
d90f6763d5
commit
5e2bdfa091
|
@ -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()? {
|
||||
|
|
Loading…
Reference in a new issue