Remove dep import

This commit is contained in:
Jonathan Turner 2019-08-22 17:15:14 +12:00
parent 87930ba35a
commit b9b462ffeb

View file

@ -12,6 +12,7 @@ use crate::utils::FileStructure;
use rustyline::completion::FilenameCompleter;
use rustyline::hint::{Hinter, HistoryHinter};
use std::path::{Path, PathBuf};
pub struct FilesystemShell {
crate path: String,
completer: NuCompleter,
@ -653,8 +654,6 @@ impl Shell for FilesystemShell {
}
#[cfg(windows)]
{
use crate::utils::FileStructure;
let mut sources: FileStructure = FileStructure::new();
sources.walk_decorate(&entry)?;