Remove some unused code
This commit is contained in:
parent
9d2e5918af
commit
4f972f20a7
@ -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));
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user