]> git.proxmox.com Git - rustc.git/blobdiff - vendor/clap/examples/tutorial_builder/04_02_validate.rs
New upstream version 1.65.0+dfsg1
[rustc.git] / vendor / clap / examples / tutorial_builder / 04_02_validate.rs
index e60018a4615f06eaca1aedeb48d5e818b07b3499..ea2f32e679acb753769963f5dbc3eca3b6615441 100644 (file)
@@ -1,11 +1,9 @@
-// Note: this requires the `cargo` feature
-
 use std::ops::RangeInclusive;
 
 use clap::{arg, command};
 
 fn main() {
-    let matches = command!()
+    let matches = command!() // requires `cargo` feature
         .arg(
             arg!(<PORT>)
                 .help("Network port to use")