Skip to content

Document trait objects in the book #21707

Description

@krdln

Trait objects seem not to be documented at all in the book, which together with their mandatory lifetime bound annotation makes them almost undiscoverable. Fortunately, there are some nice blog posts by @huonw, but they are unlikely for a user to stumble upon.

Also, the only occurence of 'trait object' in the reference is following sentence, which is strange:

Likewise, supertrait methods may also be called on trait objects.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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