From 3dd7b0daca35652b4b81f41c8ea69abddedbe1a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D1=80=D0=B0=D1=81=D0=B8=D0=BC=D0=B8=D1=80=20=D0=91?= =?UTF-8?q?=D0=B5=D1=80=D0=BE=D0=B2?= Date: Thu, 31 Aug 2023 11:08:11 +0300 Subject: [PATCH] Added explanation for compiling and executing match_args.rs. --- src/std_misc/arg/matching.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/std_misc/arg/matching.md b/src/std_misc/arg/matching.md index 4cb68eabf0..4a96fbc214 100644 --- a/src/std_misc/arg/matching.md +++ b/src/std_misc/arg/matching.md @@ -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.