refactor: removed unused imports
This commit is contained in:
parent
65c2a1767c
commit
0c75423ff0
@ -1,14 +1,8 @@
|
|||||||
use std::collections::VecDeque;
|
|
||||||
use std::fs::File;
|
|
||||||
use std::path::Path;
|
|
||||||
use std::str::{Chars, FromStr};
|
|
||||||
|
|
||||||
use tokens::Token;
|
use tokens::Token;
|
||||||
|
|
||||||
use crate::lexer::errors::LexerErrors;
|
use crate::lexer::errors::LexerErrors;
|
||||||
use crate::lexer::errors::LexerErrors::EmptyTextSequenceError;
|
use crate::lexer::fsm::FSM;
|
||||||
use crate::lexer::fsm::{FSM, get_token};
|
use crate::lexer::tokens::TokenMeta;
|
||||||
use crate::lexer::tokens::{OpType, TokenMeta};
|
|
||||||
|
|
||||||
pub mod errors;
|
pub mod errors;
|
||||||
pub mod tokens;
|
pub mod tokens;
|
||||||
@ -90,6 +84,8 @@ impl Lexer {
|
|||||||
#[warn(dead_code)]
|
#[warn(dead_code)]
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
|
use tokens::OpType;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user