Skip to content

The dangle function in docs should be marked as "Does not compile" #60975

Closed
@punkeel

Description

@punkeel

https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html

Right under this sentence, the code does not compile - but is not marked as such

Let’s take a closer look at exactly what’s happening at each stage of our dangle code:

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