2
0
Fork 0
mirror of https://github.com/clap-rs/clap synced 2024-12-14 14:52:33 +00:00
3047: Remove extern crate in doc tests to fix coverage r=ldm0 a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
This commit is contained in:
bors[bot] 2021-11-24 09:03:52 +00:00 committed by GitHub
commit 6fae3f1a07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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!'")