Skip to content

Commit d267e75

Browse files
authored
Merge pull request #1739 from kberov/arg_matching
Added explanation for compiling and executing match_args.rs.
2 parents f61675f + 3dd7b0d commit d267e75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/std_misc/arg/matching.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ fn main() {
7070
}
7171
```
7272

73+
If you named your program `match_args.rs` and compile it like this `rustc
74+
match_args.rs`, you can execute it as follows:
75+
7376
```shell
7477
$ ./match_args Rust
7578
This is not the answer.

0 commit comments

Comments
 (0)