chore(specctra-core): remove unused stuff

This commit is contained in:
Alain Emilia Anna Zscheile 2024-12-06 16:40:57 +01:00
parent 6bd5d26b9d
commit 7dc93c91f0
2 changed files with 0 additions and 6 deletions

View File

@ -1,5 +1,3 @@
use crate::error::ParseError;
pub enum ListToken {
Start { name: String },
Leaf { value: String },

View File

@ -141,10 +141,6 @@ impl<R: std::io::BufRead> ListTokenizer<R> {
}
}
fn map_context<T>(&self, result: Result<T, ParseError>) -> Result<T, ParseErrorContext> {
result.map_err(|err| self.add_context(err))
}
fn next_char(&mut self) -> Result<char, ParseErrorContext> {
let return_chr = self.peek_char()?;
self.reset_char();