Merge pull request #3161 from DerZade/master

docs: Fix copy paste error in example
This commit is contained in:
Pavan Kumar Sunkara 2021-12-13 12:10:51 +00:00 committed by GitHub
commit 36313b779f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,6 @@ fn main() {
// Note, it's safe to call unwrap() because the arg is required
let port: usize = matches
.value_of_t("PORT")
.expect("'MODE' is required and parsing will fail if its missing");
.expect("'PORT' is required and parsing will fail if its missing");
println!("PORT = {}", port);
}