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)?;