Remove some unused code

This commit is contained in:
greg 2019-05-13 15:31:15 -07:00
parent 9d2e5918af
commit 4f972f20a7

View File

@ -1,5 +1,5 @@
use std::fmt::Write as FmtWrite; use std::fmt::Write as FmtWrite;
use std::io::{Read, Write}; use std::io::Write;
use std::fs::File; use std::fs::File;
use std::sync::Arc; use std::sync::Arc;
use std::collections::HashSet; use std::collections::HashSet;
@ -118,7 +118,7 @@ impl Repl {
None => break Err(format!("Command {} not found", next_command)) None => break Err(format!("Command {} not found", next_command))
}; };
}, },
CommandTree::Terminal { name, function, .. } => { CommandTree::Terminal { function, .. } => {
break Ok((function, idx)); break Ok((function, idx));
}, },
} }