diff --git a/src/lib.rs b/src/lib.rs index 64ae787..d2f797d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,13 +1,7 @@ -use std::collections::HashMap; - -use color_eyre::{ - eyre::{eyre, ContextCompat}, - Result, -}; +use color_eyre::{eyre::eyre, Result}; use env::Environment; use printer::print; use reader::read; -use regex::Regex; use rustyline::{config::Configurer, error::ReadlineError, Editor}; pub mod env; diff --git a/src/reader.rs b/src/reader.rs index 95f579a..ad8c6ee 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -1,9 +1,4 @@ -use std::{cell::RefCell, rc::Rc}; - -use crate::types::Symbol; -use crate::Keyword; use crate::Value; -use color_eyre::{eyre::eyre, Result}; use lazy_static::lazy_static; use regex::Regex; @@ -114,7 +109,9 @@ mod test { use std::fs::read_to_string; use super::*; - use pretty_assertions::{assert_eq, assert_ne}; + use crate::types::Symbol; + use crate::Keyword; + use pretty_assertions::assert_eq; fn get_test_string() -> String { read_to_string("./test_presentation.lisp").unwrap()