style(fmt): remove plugin compilation warnings (#3231)

This commit is contained in:
Aram Drevekenin 2024-03-28 14:29:18 +01:00 committed by GitHub
parent 1f9dfdfb76
commit 2908d2fcef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View file

@ -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
}

View file

@ -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),
}
}