diff --git a/src/ui/widgets/tui_dirlist_detailed.rs b/src/ui/widgets/tui_dirlist_detailed.rs index e84cbbbfd..b35dceaf3 100644 --- a/src/ui/widgets/tui_dirlist_detailed.rs +++ b/src/ui/widgets/tui_dirlist_detailed.rs @@ -128,6 +128,7 @@ fn get_entry_size_string(entry: &JoshutoDirEntry) -> String { } } +#[allow(clippy::too_many_arguments)] fn print_entry( buf: &mut Buffer, entry: &JoshutoDirEntry, diff --git a/src/util/style.rs b/src/util/style.rs index 4c3fcc238..0373c0c61 100644 --- a/src/util/style.rs +++ b/src/util/style.rs @@ -60,7 +60,7 @@ pub fn entry_prefix(entry: &JoshutoDirEntry) -> (&str, usize) { THEME_T.selection.prefix_width, ); } - return ("", 0); + ("", 0) } fn default_style(entry: &JoshutoDirEntry, linktype: &LinkType, filetype: &FileType) -> Style {