Skip to content

Commit

Permalink
Added explanation for compiling and executing match_args.rs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kberov committed Aug 31, 2023
1 parent c954202 commit 3dd7b0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/std_misc/arg/matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ fn main() {
}
```

If you named your program `match_args.rs` and compile it like this `rustc
match_args.rs`, you can execute it as follows:

```shell
$ ./match_args Rust
This is not the answer.
Expand Down

0 comments on commit 3dd7b0d

Please sign in to comment.