Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kamiyaa committed Mar 10, 2024
1 parent 1822104 commit 4267cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ui/widgets/tui_dirlist_detailed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/util/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4267cb5

Please sign in to comment.