Skip to content

Tutorial: confusing paragraph in section 8 #15293

Closed
@ianb

Description

@ianb

In section 8 ("Ownership") there is:

If an object doesn't contain any non-Send types, it consists of a single ownership tree and is itself given the Send trait which allows it to be sent between tasks. Custom destructors can only be implemented directly on types that are Send, but non-Send types can still contain types with custom destructors. Example of types which are not Send are Gc and Rc, the shared-ownership types.

This uses a bunch of terms and ideas that haven't been introduced at that stage of the tutorial.

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