From d1de2e7f4d2583d1a4f63683896ae1d166a64b92 Mon Sep 17 00:00:00 2001 From: Akiomi Kamakura Date: Mon, 1 Jan 2024 01:27:11 +0900 Subject: [PATCH] Fix for clippy --- src/widgets/scrollable_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/scrollable_list.rs b/src/widgets/scrollable_list.rs index 777e9846..9d8c58b7 100644 --- a/src/widgets/scrollable_list.rs +++ b/src/widgets/scrollable_list.rs @@ -1,7 +1,7 @@ use ratatui::{prelude::*, widgets, widgets::*}; pub trait ScrollableList { - fn select(&mut self, index: Option) -> (); + fn select(&mut self, index: Option); fn selected(&self) -> Option;