Skip to content

rustbook: Generics chapter trait confusion #24621

Closed
@Munksgaard

Description

@Munksgaard

The generics chapter ends like this:

To fix this example, we need to learn about another Rust feature: traits.

But the generics chapter (5.23) comes after the traits chapter (5.21). However, there is a trait object chapter (5.25) that comes after the generics chapter.

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