diff --git a/clap_derive/examples/hostname.rs b/clap_derive/examples/hostname.rs index 4bc3dd1d073b..928b1d96f5bc 100644 --- a/clap_derive/examples/hostname.rs +++ b/clap_derive/examples/hostname.rs @@ -23,10 +23,10 @@ //! //! This example omits the implementation of displaying address config. -use clap::{AppSettings, Clap}; +use clap::Clap; #[derive(Clap, Debug)] -#[clap(name = env!("CARGO_CRATE_NAME"), setting = AppSettings::Multicall)] +#[clap(name = env!("CARGO_CRATE_NAME"), setting = clap::AppSettings::Multicall)] enum Args { /// Show the configured hostname Hostname,