fix: must_use the structs

This commit is contained in:
EdJoPaTo
2024-05-23 12:03:02 +02:00
parent 136599257a
commit d676f66504
6 changed files with 11 additions and 12 deletions
+1
View File
@@ -9,6 +9,7 @@ use ratatui::widgets::{Block, Scrollbar, ScrollbarOrientation};
use ratatui::{Frame, Terminal};
use tui_tree_widget::{Tree, TreeItem, TreeState};
#[must_use]
struct App {
state: TreeState<&'static str>,
items: Vec<TreeItem<'static, &'static str>>,