Skip to content

tutorial: two kinds of box? #14503

Closed
@ambimorph

Description

@ambimorph

In http://static.rust-lang.org/doc/master/tutorial.html#ownership, both the just-introduced box operator is used, and a previously unseen parameterised type, Box. The latter is not introduced until http://static.rust-lang.org/doc/master/tutorial.html#boxes, where it is called an "owned box". This was confusing to my partner, who said "Aren't all objects owned? Is there such thing as a non-owned object?".

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