From d67b29fa22259e1beb24837cc87d55cbd0392c0f Mon Sep 17 00:00:00 2001 From: rhysd Date: Wed, 10 May 2023 17:04:06 +0900 Subject: [PATCH] fix commands in contribution document --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fb7fc75..4a9cff1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -50,7 +50,7 @@ dbg!(&some_value); Then redirect stderr to some file: ```sh -cargo run -- --example minimal 2>debug.txt +cargo run --example minimal 2>debug.txt ``` Then the debug prints are output to the `debug.txt` file. If timing is important or you want to see the output in real-time, @@ -58,7 +58,7 @@ printing the file content with `tail` command would be useful. ```sh # In a terminal, reproduce the issue -cargo run -- --example minimal 2>debug.txt +cargo run --example minimal 2>debug.txt # In another terminal, run `tail` command to monitor the content tail -F debug.txt