]> git.proxmox.com Git - rustc.git/blobdiff - vendor/clap/examples/tutorial_builder/03_02_option.rs
New upstream version 1.65.0+dfsg1
[rustc.git] / vendor / clap / examples / tutorial_builder / 03_02_option.rs
index 80e2b915901500b1266cadd02079f44fa31c4919..188244566f832aa7c2b5b77620f56655db80ae70 100644 (file)
@@ -1,9 +1,7 @@
-// Note: this requires the `cargo` feature
-
 use clap::{arg, command};
 
 fn main() {
-    let matches = command!()
+    let matches = command!() // requires `cargo` feature
         .arg(arg!(-n --name <NAME>).required(false))
         .get_matches();