Skip to content

Commit 0732c4f

Browse files
committed
Fix clippy
1 parent 30052b6 commit 0732c4f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,13 @@ mod non_windows {
346346
mod windows {
347347
use super::*;
348348
pub fn static_linking_inner(_env_vars: &EnvVars, _library_names: &[&str]) -> Vec<String> {
349-
let include_paths = vcpkg::Config::new()
349+
vcpkg::Config::new()
350350
.find_package("ffmpeg")
351351
.unwrap()
352352
.include_paths
353353
.into_iter()
354354
.map(|x| x.to_str().unwrap().to_string())
355-
.collect();
356-
include_paths
355+
.collect()
357356
}
358357
}
359358

0 commit comments

Comments
 (0)