Skip to content

Guide: awkward wording "the range function is a function" provided by Rust #17230

Closed
@bjpop

Description

@bjpop

Section 11.1, for loops says "In our example, the range function is a function, provided by Rust, "

The repetition of the word "function" is awkward.

The "provided by Rust" is redundant.

I suggest re-wording to: "The range function takes a start and end position, and returns an iterator over those values."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions