Skip to content

Why does Document need a lifetime? #41

Closed
@EverlastingBugstopper

Description

@EverlastingBugstopper

I'm trying to parse a schema into AST, and I'm wondering why the Document type it produces requires a lifetime. I'd like to be able to use the document as an owned struct without having to worry about lifetimes at all.

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