Skip to content

Improve 'Higher-ranked trait bounds' section of reference #54202

Closed
@jeekobu

Description

@jeekobu

https://doc.rust-lang.org/reference/trait-bounds.html

The last paragraph in particular has English errors and is incomprehensible:

Higher-ranked lifetimes may also be specified just before the trait, the only end of the following trait instead of the whole bound. This function is difference is the scope of the lifetime parameter, which extends only to the equivalent to the last one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions