Skip to content

Contributing seems to be outdated wrt how to test your PR #2415

Description

@hippietrail

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions