Skip to content

The Book discusses ownership after vectors, but some text claims otherwise #34865

Closed
@Blaisorblade

Description

@Blaisorblade

Ownership, borrowing and lifetimes are discussed after vectors and before methods, but the text seems written with another order in mind.

In particular, there's an inaccuracy in https://doc.rust-lang.org/book/ownership.html, which says:

We'll cover vectors in detail later in this chapter [...]

Should this be removed/rephrased/dealt with some other way? I might try a PR for this (removing the inaccuracy) myself.

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