mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
Remove extern crate in doc tests to fix coverage
This commit is contained in:
parent
aeff599248
commit
59a8cc12df
1 changed files with 0 additions and 4 deletions
|
@ -392,7 +392,6 @@ impl ArgMatches {
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// # extern crate clap;
|
|
||||||
/// # use clap::App;
|
/// # use clap::App;
|
||||||
/// let matches = App::new("myapp")
|
/// let matches = App::new("myapp")
|
||||||
/// .arg("[length] 'Set the length to use as a pos whole num, i.e. 20'")
|
/// .arg("[length] 'Set the length to use as a pos whole num, i.e. 20'")
|
||||||
|
@ -443,7 +442,6 @@ impl ArgMatches {
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// # extern crate clap;
|
|
||||||
/// # use clap::App;
|
/// # use clap::App;
|
||||||
/// let matches = App::new("myapp")
|
/// let matches = App::new("myapp")
|
||||||
/// .arg("[length] 'Set the length to use as a pos whole num, i.e. 20'")
|
/// .arg("[length] 'Set the length to use as a pos whole num, i.e. 20'")
|
||||||
|
@ -481,7 +479,6 @@ impl ArgMatches {
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// # extern crate clap;
|
|
||||||
/// # use clap::App;
|
/// # use clap::App;
|
||||||
/// let matches = App::new("myapp")
|
/// let matches = App::new("myapp")
|
||||||
/// .arg("[length]... 'A sequence of integers because integers are neat!'")
|
/// .arg("[length]... 'A sequence of integers because integers are neat!'")
|
||||||
|
@ -534,7 +531,6 @@ impl ArgMatches {
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// # extern crate clap;
|
|
||||||
/// # use clap::App;
|
/// # use clap::App;
|
||||||
/// let matches = App::new("myapp")
|
/// let matches = App::new("myapp")
|
||||||
/// .arg("[length]... 'A sequence of integers because integers are neat!'")
|
/// .arg("[length]... 'A sequence of integers because integers are neat!'")
|
||||||
|
|
Loading…
Reference in a new issue