From b9b462ffeb2159c74f2797a19408721ca25d90b1 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Thu, 22 Aug 2019 17:15:14 +1200 Subject: [PATCH] Remove dep import --- src/shell/filesystem_shell.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shell/filesystem_shell.rs b/src/shell/filesystem_shell.rs index 98f51d095..2ba27e764 100644 --- a/src/shell/filesystem_shell.rs +++ b/src/shell/filesystem_shell.rs @@ -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)?;