Skip to content

impl<T> is not introduced in the book #26991

@shepmaster

Description

@shepmaster

There's only a few references to impl< in TRPL:

  1. src/doc/trpl/deref-coercions.md
  2. src/doc/trpl/lifetimes.md
  3. src/doc/trpl/unsized-types.md

None of these really mention that you use impl<T> to declare a typename that will participate in either the trait or item involved in the implementation.

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