Skip to content

Commit 3dd7b0d

Browse files
committed
Added explanation for compiling and executing match_args.rs.
1 parent c954202 commit 3dd7b0d

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)