Skip to content

Collections exercises run and hint command does not match standard pattern #651

@arnoldn1

Description

@arnoldn1

rustc version: rustc 1.49.0 (e1884a8e3 2020-12-29)
rustlings version: rustlings 4.3.0

The README gives the run and hint commands as:

rustlings run myExercise1
rustlings hint myExercise1

where myExercise1 is the exercise file name. This remains true for other exercise groups where the file names do not match their parent directory name e.g., conversions.

However, for the collections exercises the pattern is instead:
rustlings run collections1 to run vec1
rustlings run collections2 to run vec2
rustlings run collections3 to run hashmap1
rustlings run collections4 to run hashmap2

There is a comment in each file that specifies the correct hint command but not run command. The lack of consistency leads to some confusion.

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