diff --git a/src/main.rs b/src/main.rs index 4bad280..8f295ba 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,6 @@ #![forbid(unsafe_code)] #![allow(dead_code)] +#![allow(deprecated)] use std::time::Duration; use clap::Parser; diff --git a/src/view/widgets/feed.rs b/src/view/widgets/feed.rs index 5492b8a..2eed6ea 100644 --- a/src/view/widgets/feed.rs +++ b/src/view/widgets/feed.rs @@ -2,7 +2,7 @@ use ratatui::buffer::Buffer; use ratatui::layout::{Constraint, Layout, Margin, Rect}; use ratatui::style::{Color, Style, Stylize}; use ratatui::text::Line; -use ratatui::widgets::{Block, Borders, List, ListItem, Paragraph, StatefulWidget, StatefulWidgetRef, Widget, Wrap}; +use ratatui::widgets::{Block, Borders, List, ListItem, Paragraph, StatefulWidget, Widget, Wrap}; use tui_widget_list::PreRender; use crate::backend::filter::Languages;