mirror of
https://github.com/nushell/nushell
synced 2025-01-14 14:14:13 +00:00
Remove dep import
This commit is contained in:
parent
87930ba35a
commit
b9b462ffeb
1 changed files with 1 additions and 2 deletions
|
@ -12,6 +12,7 @@ use crate::utils::FileStructure;
|
||||||
use rustyline::completion::FilenameCompleter;
|
use rustyline::completion::FilenameCompleter;
|
||||||
use rustyline::hint::{Hinter, HistoryHinter};
|
use rustyline::hint::{Hinter, HistoryHinter};
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
|
|
||||||
pub struct FilesystemShell {
|
pub struct FilesystemShell {
|
||||||
crate path: String,
|
crate path: String,
|
||||||
completer: NuCompleter,
|
completer: NuCompleter,
|
||||||
|
@ -653,8 +654,6 @@ impl Shell for FilesystemShell {
|
||||||
}
|
}
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
{
|
{
|
||||||
use crate::utils::FileStructure;
|
|
||||||
|
|
||||||
let mut sources: FileStructure = FileStructure::new();
|
let mut sources: FileStructure = FileStructure::new();
|
||||||
|
|
||||||
sources.walk_decorate(&entry)?;
|
sources.walk_decorate(&entry)?;
|
||||||
|
|
Loading…
Reference in a new issue