Fix a typo in the Clap trait docs (#2243)

* Fix a typo in the Clap trait docs

* Update src/derive.rs

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
This commit is contained in:
Jonas Platte 2020-12-08 02:40:18 +01:00 committed by GitHub
parent 3520a30b6e
commit 041bfda7ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ use std::ffi::OsString;
/// .about("More verbose output"))
/// .arg(Arg::new("name")
/// .long("name")
/// .long("n")
/// .short('n')
/// .about("An optional name")
/// .takes_value(true));
///