Skip to content

Commit 01c60e7

Browse files
committed
fix clippy warnings
1 parent 4b843e7 commit 01c60e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

oryx-tui/src/filter/fuzzy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl Fuzzy {
145145
}
146146
}
147147

148-
pub fn highlight(pattern: &str, input: String) -> Cell {
148+
pub fn highlight(pattern: &str, input: String) -> Cell<'_> {
149149
if !pattern.is_empty() {
150150
if input.contains(pattern) {
151151
let splits = input.split(pattern);

oryx-tui/src/section.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl Section {
6161
firewall: Firewall::new(firewall_chans.ingress.sender, firewall_chans.egress.sender),
6262
}
6363
}
64-
fn title_span(&self, header_section: FocusedSection) -> Span {
64+
fn title_span(&self, header_section: FocusedSection) -> Span<'_> {
6565
let is_focused = self.focused_section == header_section;
6666
match header_section {
6767
FocusedSection::Inspection => {

0 commit comments

Comments
 (0)