mirror of https://codeberg.org/topola/topola.git
chore(specctra-core): remove unused stuff
This commit is contained in:
parent
7737aaf0cc
commit
3e7526bcc6
|
|
@ -1,5 +1,3 @@
|
|||
use crate::error::ParseError;
|
||||
|
||||
pub enum ListToken {
|
||||
Start { name: String },
|
||||
Leaf { value: String },
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue