From 2599b5645c22c093b5b7a8637d915fecb42012a2 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Sun, 10 Oct 2021 20:51:24 +0100 Subject: [PATCH] fixup! Attempt to fix CI fail with simpler Clap import --- clap_derive/examples/hostname.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,