fix: resolve clippy warnings

This commit is contained in:
objz committed 2026-02-07 17:08:47 +01:00
1 parent 0ec95e51e4
commit 4f597d04b2
12 files changed
+48 -42

No files matched your search

+3 -1
View File
@@ -8,13 +8,15 @@ use ratatui::{
use crate::tui::theme::THEME;
type ContentFn<'a> = Box<dyn Fn(Rect, &mut Buffer) + 'a>;
pub struct PopupFrame<'a> {
pub title: Line<'a>,
pub border_color: Color,
pub bg: Option<Color>,
pub keybinds: Option<Line<'a>>,
pub search_line: Option<Line<'a>>,
pub content: Box<dyn Fn(Rect, &mut Buffer) + 'a>,
pub content: ContentFn<'a>,
}
impl<'a> Widget for PopupFrame<'a> {