mirror of
https://github.com/nushell/nushell.git
synced 2025-05-17 00:10:53 +02:00
Remove dep import
This commit is contained in:
parent
87930ba35a
commit
b9b462ffeb
@ -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 New Issue
Block a user