Fix all warnings

This commit is contained in:
Jeff 2024-07-11 17:57:35 -04:00
parent c85958064a
commit 994fa7310b
2 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,5 @@
use std::{ use std::{
fmt::{self, Display, Formatter}, fmt::{self, Display, Formatter},
fs::read_to_string,
path::Path, path::Path,
sync::{Arc, RwLock}, sync::{Arc, RwLock},
}; };
@ -10,9 +9,7 @@ use serde::{Deserialize, Serialize};
use crate::{ use crate::{
context::Context, context::Context,
error::{DustError, RuntimeError, ValidationError}, error::{RuntimeError, ValidationError},
lexer::lex,
parser,
standard_library::{std_fs_compiled, std_io_compiled, std_json_compiled, std_thread_compiled}, standard_library::{std_fs_compiled, std_io_compiled, std_json_compiled, std_thread_compiled},
Type, Type,
}; };

View File

@ -16,7 +16,7 @@ use serde::{
use crate::{ use crate::{
abstract_tree::{ abstract_tree::{
AbstractNode, Block, BuiltInFunction, Evaluation, SourcePosition, Type, TypeConstructor, AbstractNode, Block, BuiltInFunction, Evaluation, SourcePosition, Type,
WithPosition, WithPosition,
}, },
context::Context, context::Context,