Skip to content

Commit

Permalink
Merge pull request #1739 from kberov/arg_matching
Browse files Browse the repository at this point in the history
Added explanation for compiling and executing match_args.rs.
  • Loading branch information
marioidival authored Sep 26, 2023
2 parents f61675f + 3dd7b0d commit d267e75
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 d267e75

Please sign in to comment.