From 59a8cc12df8e3f0f2c86c151c810157cd4ec8402 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Sunkara Date: Tue, 23 Nov 2021 11:10:08 +0000 Subject: [PATCH] Remove extern crate in doc tests to fix coverage --- src/parse/matches/arg_matches.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/parse/matches/arg_matches.rs b/src/parse/matches/arg_matches.rs index 5f9cd62b..a493fbb3 100644 --- a/src/parse/matches/arg_matches.rs +++ b/src/parse/matches/arg_matches.rs @@ -392,7 +392,6 @@ impl ArgMatches { /// # Examples /// /// ``` - /// # extern crate clap; /// # use clap::App; /// let matches = App::new("myapp") /// .arg("[length] 'Set the length to use as a pos whole num, i.e. 20'") @@ -443,7 +442,6 @@ impl ArgMatches { /// # Examples /// /// ``` - /// # extern crate clap; /// # use clap::App; /// let matches = App::new("myapp") /// .arg("[length] 'Set the length to use as a pos whole num, i.e. 20'") @@ -481,7 +479,6 @@ impl ArgMatches { /// # Examples /// /// ``` - /// # extern crate clap; /// # use clap::App; /// let matches = App::new("myapp") /// .arg("[length]... 'A sequence of integers because integers are neat!'") @@ -534,7 +531,6 @@ impl ArgMatches { /// # Examples /// /// ``` - /// # extern crate clap; /// # use clap::App; /// let matches = App::new("myapp") /// .arg("[length]... 'A sequence of integers because integers are neat!'")