From cd6584f0ab1b0b437851f8bc685255934abe4620 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Tue, 18 Feb 2025 12:20:37 +0000 Subject: [PATCH] chore: appease clippy --- helix-term/src/compositor.rs | 1 - helix-term/src/ui/mod.rs | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/helix-term/src/compositor.rs b/helix-term/src/compositor.rs index af510ed59..28c8651a2 100644 --- a/helix-term/src/compositor.rs +++ b/helix-term/src/compositor.rs @@ -15,7 +15,6 @@ pub enum EventResult { Consumed(Option), } -use crate::commands; use crate::job::Jobs; use crate::ui::picker; use helix_view::Editor; diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs index a0cf06a3a..93da51ce6 100644 --- a/helix-term/src/ui/mod.rs +++ b/helix-term/src/ui/mod.rs @@ -16,7 +16,7 @@ mod text_decorations; use crate::compositor::{Compositor, Context}; 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 editor::EditorView; use helix_core::hashmap; @@ -33,13 +33,10 @@ pub use text::Text; use helix_view::Editor; use tui::text::Span; -use std::collections::HashMap; use std::fs; -use std::path::{Path, MAIN_SEPARATOR}; +use std::path::Path; use std::{error::Error, path::PathBuf}; -use self::picker::PickerKeyHandler; - struct Utf8PathBuf { path: String, is_dir: bool,