Skip to content

Commit

Permalink
chore(build): Avoid doubled Rust imports when combining features
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 15, 2023
1 parent 8dfe3c3 commit 2fd6eaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-aux/build.rs
@@ -1,6 +1,6 @@
#[cfg(feature = "manpage")]
use clap_mangen::Man;
#[cfg(feature = "static")]
#[cfg(any(feature = "static", feature = "completions"))]
use std::path::Path;
use std::{collections, env};
use vergen::EmitBuilder;
Expand All @@ -9,7 +9,7 @@ use {
clap::CommandFactory,
clap_complete::generator::generate_to,
clap_complete::shells::{Bash, Elvish, Fish, PowerShell, Zsh},
std::{fs, path::Path},
std::fs,
};

#[cfg(feature = "completions")]
Expand Down

0 comments on commit 2fd6eaa

Please sign in to comment.