Skip to content

Commit

Permalink
chore: cargo fmt and clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bavshin-f5 committed Jul 27, 2024
1 parent b2af870 commit def7626
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nginx-sys/build/vendored.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ const NGX_BASE_MODULES: [&str; 20] = [
"--with-threads",
];
/// Additional configuration flags to use when building on Linux.
const NGX_LINUX_ADDITIONAL_OPTS: [&str; 1] = [
"--with-file-aio",
];
const NGX_LINUX_ADDITIONAL_OPTS: [&str; 1] = ["--with-file-aio"];
const ENV_VARS_TRIGGERING_RECOMPILE: [&str; 12] = [
"DEBUG",
"ZLIB_VERSION",
Expand Down Expand Up @@ -485,7 +483,7 @@ fn extract_archive(
.for_each(|mut entry| {
let path = entry.path().unwrap();
let stripped_path = path.components().skip(1).collect::<PathBuf>();
entry.unpack(&archive_output_dir.join(stripped_path)).unwrap();
entry.unpack(archive_output_dir.join(stripped_path)).unwrap();
});
} else {
println!(
Expand Down

0 comments on commit def7626

Please sign in to comment.