fix: must_use the structs

This commit is contained in:
EdJoPaTo committed 2024-05-23 15:15:08 +02:00
1 parent 136599257a
commit d676f66504
6 files changed
+11 -12

No files matched your search

+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>>,