style(fmt): remove plugin compilation warnings (#3231)
This commit is contained in:
parent
1f9dfdfb76
commit
2908d2fcef
2 changed files with 1 additions and 5 deletions
|
|
@ -1,6 +1,5 @@
|
|||
use fuzzy_matcher::skim::SkimMatcherV2;
|
||||
use fuzzy_matcher::FuzzyMatcher;
|
||||
use std::cmp::Ordering;
|
||||
use std::path::PathBuf;
|
||||
use zellij_tile::prelude::*;
|
||||
|
||||
|
|
@ -31,9 +30,6 @@ impl NewSessionInfo {
|
|||
pub fn layout_search_term(&self) -> &str {
|
||||
&self.layout_list.layout_search_term
|
||||
}
|
||||
pub fn entering_new_session_info(&self) -> bool {
|
||||
true
|
||||
}
|
||||
pub fn entering_new_session_name(&self) -> bool {
|
||||
self.entering_new_session_info == EnteringState::EnteringName
|
||||
}
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ impl FsEntry {
|
|||
}
|
||||
pub fn size(&self) -> Option<u64> {
|
||||
match self {
|
||||
FsEntry::Dir(p) => None,
|
||||
FsEntry::Dir(_p) => None,
|
||||
FsEntry::File(_, size) => Some(*size),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue