fixup! wip parse inner

This commit is contained in:
Noah Hellman 2022-12-02 08:16:47 +01:00
parent 80804d5009
commit 8ed3c0021a

View file

@ -83,7 +83,6 @@ impl Sequence {
#[derive(Clone)] #[derive(Clone)]
pub(crate) struct Lexer<'s> { pub(crate) struct Lexer<'s> {
src: &'s str,
chars: std::str::Chars<'s>, chars: std::str::Chars<'s>,
escape: bool, escape: bool,
next: Option<Token>, next: Option<Token>,
@ -93,7 +92,6 @@ pub(crate) struct Lexer<'s> {
impl<'s> Lexer<'s> { impl<'s> Lexer<'s> {
pub fn new(src: &'s str) -> Lexer<'s> { pub fn new(src: &'s str) -> Lexer<'s> {
Lexer { Lexer {
src,
chars: src.chars(), chars: src.chars(),
escape: false, escape: false,
next: None, next: None,