From 4f972f20a711e621791da6d6192949a98938e346 Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 13 May 2019 15:31:15 -0700 Subject: [PATCH] Remove some unused code --- schala-repl/src/repl/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }, }