mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
fix clippy warning
https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
This commit is contained in:
parent
36c967a8b4
commit
2b53db9bdd
@ -711,7 +711,7 @@ fn smart_unpack(
|
||||
|
||||
fn check_mime_type(
|
||||
files: &[PathBuf],
|
||||
formats: &mut Vec<Vec<Extension>>,
|
||||
formats: &mut [Vec<Extension>],
|
||||
question_policy: QuestionPolicy,
|
||||
) -> crate::Result<ControlFlow<()>> {
|
||||
for (path, format) in files.iter().zip(formats.iter_mut()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user