aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/picker.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-05-09 09:32:40 +0000
committerBlaž Hrastnik2021-05-09 09:32:40 +0000
commitccdebb99b547cd2eafc0b0e4f5cfc116fa729487 (patch)
treed1ac27074a9052dd6b8be662a6cc27cb8fa13c06 /helix-term/src/ui/picker.rs
parentff4c1d05deee2b4b4d85c29a627fb01e60886c7f (diff)
Drop some useless imports.
Diffstat (limited to 'helix-term/src/ui/picker.rs')
-rw-r--r--helix-term/src/ui/picker.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs
index 55975240..bf072877 100644
--- a/helix-term/src/ui/picker.rs
+++ b/helix-term/src/ui/picker.rs
@@ -4,7 +4,7 @@ use tui::{
buffer::Buffer as Surface,
layout::Rect,
style::{Color, Style},
- widgets::{Block, Borders},
+ widgets::{Block, BorderType, Borders},
};
use fuzzy_matcher::skim::SkimMatcherV2 as Matcher;
@@ -224,7 +224,6 @@ impl<T: 'static> Component for Picker<T> {
self.prompt.render(area, surface, cx);
// -- Separator
- use tui::widgets::BorderType;
let style = Style::default().fg(Color::Rgb(90, 89, 119));
let symbols = BorderType::line_symbols(BorderType::Plain);
for x in inner.left()..inner.right() {