Fix yaml docs
@@ -350,7 +350,7 @@ use clap::App;
fn main() {
// The YAML file is found relative to the current file, similar to how modules are found
let yaml = load_yaml!("cli.yml");
- let matches = App::from_yaml(yaml).get_matches();
+ let matches = App::from(yaml).get_matches();
// Same as previous examples...
}
