Skip to content

Is this a typo? The *lifetime* (should be *reference*?) is alive from the place it is created to its last use. #285

Closed
@Celthi

Description

@Celthi

This line says

The lifetime (sometimes called a borrow) is alive from the place it is created to its last use.

But at the beginning of the page, it says

Lifetimes are named regions of code that a reference must be valid for.

Combining these two sentences, the named region of code is alive from the place it is created to its last use. I don't get the idea of this combined sentence. Is the "lifetime is alive" actually "reference is alive"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-confusingThe description is confusing or not clear.E-easy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions