diff options
author | Canop <cano.petrole@gmail.com> | 2021-10-20 20:18:50 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2021-10-20 20:18:50 +0200 |
commit | 5e45e2c27d0d5f88831e568cc88f69141e240a1f (patch) | |
tree | 50bad7ad30624ba3cf7b813e3bc96dc488591c27 /src/display | |
parent | 21e4e12ab670b0c585e062c3f4178906a7315d47 (diff) |
remove direct import of minimad crate
because there's some bug I don't understand in crate resolution
in the last versions of rust
Diffstat (limited to 'src/display')
-rw-r--r-- | src/display/matched_string.rs | 6 | ||||
-rw-r--r-- | src/display/status_line.rs | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/display/matched_string.rs b/src/display/matched_string.rs index 8f962a0..3bdf27d 100644 --- a/src/display/matched_string.rs +++ b/src/display/matched_string.rs @@ -1,8 +1,10 @@ use { super::{CropWriter, SPACE_FILLING}, crate::pattern::NameMatch, - minimad::Alignment, - termimad::{CompoundStyle, StrFit}, + termimad::{ + minimad::Alignment, + CompoundStyle, StrFit, + }, }; pub struct MatchedString<'a> { diff --git a/src/display/status_line.rs b/src/display/status_line.rs index 70bfbe0..edb261c 100644 --- a/src/display/status_line.rs +++ b/src/display/status_line.rs @@ -5,8 +5,10 @@ use { errors::ProgramError, skin::PanelSkin, }, - minimad::{Alignment, Composite}, - termimad::{Area, StyledChar}, + termimad::{ + minimad::{Alignment, Composite}, + Area, StyledChar, + }, }; /// write the whole status line (task + status) |