docs(macros.rs): fixes doc tests

This commit is contained in:
Kevin K 2015-05-01 14:50:28 -04:00
parent 22aef2ab45
commit 82b0c5c3d7

View file

@ -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();
/// # }
/// ```