mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 23:37:32 +00:00
docs(macros.rs): fixes doc tests
This commit is contained in:
parent
22aef2ab45
commit
82b0c5c3d7
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ macro_rules! arg_enum {
|
|||
/// # use clap::App;
|
||||
/// # fn main() {
|
||||
/// let m = App::new("app")
|
||||
/// .version(crate_version!())
|
||||
/// .version(&crate_version!()[..])
|
||||
/// .get_matches();
|
||||
/// # }
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Reference in a new issue