Skip to content

cargo new section is explanation and not a step #1285

Closed
@paynerb

Description

@paynerb

Page(s) Affected

https://www.rust-lang.org/learn/get-started

What needs to be fixed?

The following part confused me.

cargo new generates a "Hello, world!" project for us! We can run this program by moving into the new directory that we made and running this in our terminal:

I had already run cargo new hello-rust but then I thought I had to run cargo new again. The above section is an explanation and not a step.

See https://stackoverflow.com/q/64121582/11809808 for context.

Suggested Improvement

Make it more clear the that cargo new section is an explanation and not a step in the getting started process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ContentThe written content on the website.C-EnhancementA new feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions