From 9793c0686170c421431c80d53249f346f8877cc7 Mon Sep 17 00:00:00 2001 From: Shriya Singh <113788850+shriyasingh03@users.noreply.github.com> Date: Fri, 26 Jun 2026 16:31:46 +0000 Subject: [PATCH] docs: update outdated run command in contributing guide --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7b684d39..7a151be7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -41,7 +41,8 @@ When updating an exercise, check if its solution needs to be updated. - In the exercise, add a `// TODO: …` comment where user changes are required. - Add a solution at `solutions/yourTopic/yourTopicN.rs` with comments explaining it. - Add the [metadata for your exercise](#exercise-metadata) in the `rustlings-macros/info.toml` file. -- Make sure your exercise runs with `rustlings run yourTopicN`. +- Make sure your exercise runs with `cargo run --bin rustlings --run yourTopicN`. +To run all tests locally, `use cargo run --bin rustlings -- dev check`. - [Open a pull request](#pull-requests). ### Exercise Metadata