The contributing page says:
Adding An Exercise
- Make sure your exercise runs with
rustlings run yourTopicN.
But when I tried that I ran into:
% rustlings run hashmaps3
Error: You are trying to run Rustlings using the old method before version 6.
The new method doesn't include cloning the Rustlings' repository.
Please follow the instructions in `README.md`:
https://github.com/rust-lang/rustlings#getting-started
So it seems both the command to check my change and the link to learn more need to be updated.
I verified my change with cargo run --bin rustlings -- dev check and that worked but maybe there's a way to just check a single exercise?
The contributing page says:
Adding An Exercise
rustlings run yourTopicN.But when I tried that I ran into:
So it seems both the command to check my change and the link to learn more need to be updated.
I verified my change with
cargo run --bin rustlings -- dev checkand that worked but maybe there's a way to just check a single exercise?