diff options
author | Nathan Vegdahl | 2021-07-01 17:41:20 +0000 |
---|---|---|
committer | Nathan Vegdahl | 2021-07-02 02:06:52 +0000 |
commit | 702a0491db0fef8ee15cd6fcff3138812da2c2aa (patch) | |
tree | 42a1194f0b43465ca1125c0c2209a75b0b158389 /helix-term/src/ui/prompt.rs | |
parent | 79f096963c75d107cd1f415666fb21a9cfd3cbd6 (diff) |
Remove #[allow(unused)] from helix-term, and fix unused imports.
Lots of other warning still left. Will address in subsequent commits.
Diffstat (limited to 'helix-term/src/ui/prompt.rs')
-rw-r--r-- | helix-term/src/ui/prompt.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/helix-term/src/ui/prompt.rs b/helix-term/src/ui/prompt.rs index 6bb1b006..f7c3c685 100644 --- a/helix-term/src/ui/prompt.rs +++ b/helix-term/src/ui/prompt.rs @@ -5,13 +5,11 @@ use std::{borrow::Cow, ops::RangeFrom}; use tui::buffer::Buffer as Surface; use helix_core::{ - unicode::segmentation::{GraphemeCursor, GraphemeIncomplete}, - unicode::width::UnicodeWidthStr, - Position, + unicode::segmentation::GraphemeCursor, unicode::width::UnicodeWidthStr, Position, }; use helix_view::{ - graphics::{Color, CursorKind, Margin, Modifier, Rect, Style}, - Editor, Theme, + graphics::{CursorKind, Margin, Rect}, + Editor, }; pub type Completion = (RangeFrom<usize>, Cow<'static, str>); |