Skip to content

Documents should clarify about arrays #17148

Closed
@nodakai

Description

@nodakai

7.2.8 Vector expressions of the language reference refers to the "vector expression" and 7.2.21 Match expressions refers to the "vector pattern". However 8.1.4 Vector, Array, and Slice types of the language reference and the Rust guide refer to the same thing (at least the former) as an "array". It's odd that a "vector expression" creates an "array" rather than a "vector".

There are also dangling <a href="#vector-types"> in the language reference.

Neither the language reference nor the API reference explains which traits an array implements nor what methods are available for it.

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