Skip to content

Commit c2a3456

Browse files
committed
fix: resolve clippy mismatched_lifetime_syntaxes lint
Add explicit lifetime annotation to Paragraph return type to satisfy the mismatched_lifetime_syntaxes lint introduced in Rust 1.94 stable.
1 parent 05b2c67 commit c2a3456

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/search/views/home/main_side.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use ratatui::Frame;
99
use std::sync::MutexGuard;
1010

1111
/// Create the filter input widget
12-
fn create_filter_input(app: &mut UIState) -> anyhow::Result<Paragraph> {
12+
fn create_filter_input(app: &mut UIState) -> anyhow::Result<Paragraph<'_>> {
1313
let input = &app.collection_filter;
1414
let is_filtering = app.list_is_filtering();
1515
let title = util::title_string("Filter".into());

0 commit comments

Comments
 (0)