mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-08 04:25:23 +00:00
Add the clippy::too_many_arguments macro to try preview, not sure if better to create a new struct with all arguments
This commit is contained in:
parent
4e17db2f04
commit
188b55ad25
@ -153,6 +153,7 @@ impl FilePreviewer {
|
||||
/// This ends up being the max size of partial previews.
|
||||
const PARTIAL_BUFREAD_SIZE: usize = 64 * 1024;
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn try_preview(
|
||||
entry: &entry::Entry,
|
||||
partial_preview: Option<Arc<Preview>>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user