diff --git a/schala-repl/src/repl/mod.rs b/schala-repl/src/repl/mod.rs index be3d183..e696194 100644 --- a/schala-repl/src/repl/mod.rs +++ b/schala-repl/src/repl/mod.rs @@ -1,5 +1,5 @@ use std::fmt::Write as FmtWrite; -use std::io::{Read, Write}; +use std::io::Write; use std::fs::File; use std::sync::Arc; use std::collections::HashSet; @@ -118,7 +118,7 @@ impl Repl { None => break Err(format!("Command {} not found", next_command)) }; }, - CommandTree::Terminal { name, function, .. } => { + CommandTree::Terminal { function, .. } => { break Ok((function, idx)); }, }