From 2b53db9bddece381cf6385a7e4ed6df56bebf2c2 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 1 Jun 2022 17:31:46 +0300 Subject: [PATCH] fix clippy warning https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg --- src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index 2aafcbe..4658e3d 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -711,7 +711,7 @@ fn smart_unpack( fn check_mime_type( files: &[PathBuf], - formats: &mut Vec>, + formats: &mut [Vec], question_policy: QuestionPolicy, ) -> crate::Result> { for (path, format) in files.iter().zip(formats.iter_mut()) {