mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-06-30 00:08:45 +00:00
docs: update outdated run command in contributing guide
This commit is contained in:
parent
5e7a5d1721
commit
9793c06861
@ -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.
|
- 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 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.
|
- 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).
|
- [Open a pull request](#pull-requests).
|
||||||
|
|
||||||
### Exercise Metadata
|
### Exercise Metadata
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user