chore: appease clippy

pull/12902/head
Nikita Revenco 2025-02-18 12:20:37 +00:00
parent baddacfe20
commit cd6584f0ab
2 changed files with 2 additions and 6 deletions

View File

@ -15,7 +15,6 @@ pub enum EventResult {
Consumed(Option<Callback>), Consumed(Option<Callback>),
} }
use crate::commands;
use crate::job::Jobs; use crate::job::Jobs;
use crate::ui::picker; use crate::ui::picker;
use helix_view::Editor; use helix_view::Editor;

View File

@ -16,7 +16,7 @@ mod text_decorations;
use crate::compositor::{Compositor, Context}; use crate::compositor::{Compositor, Context};
use crate::job::{self, Callback}; use crate::job::{self, Callback};
use crate::{alt, ctrl, declare_key_handlers, filter_picker_entry}; use crate::{alt, declare_key_handlers, filter_picker_entry};
pub use completion::Completion; pub use completion::Completion;
pub use editor::EditorView; pub use editor::EditorView;
use helix_core::hashmap; use helix_core::hashmap;
@ -33,13 +33,10 @@ pub use text::Text;
use helix_view::Editor; use helix_view::Editor;
use tui::text::Span; use tui::text::Span;
use std::collections::HashMap;
use std::fs; use std::fs;
use std::path::{Path, MAIN_SEPARATOR}; use std::path::Path;
use std::{error::Error, path::PathBuf}; use std::{error::Error, path::PathBuf};
use self::picker::PickerKeyHandler;
struct Utf8PathBuf { struct Utf8PathBuf {
path: String, path: String,
is_dir: bool, is_dir: bool,