Skip to content

Consider adding a concrete lifetime to the Visit trait #57

Open
@KodrAus

Description

It looks like most of the work to support visiting borrowed data for some concrete lifetime (instead of just for any lifetime) is already done, the Visit trait just doesn't surface a lifetime that implementors can use to stash values across calls.

I at least find introducing lifetimes late in an API design can get a bit hairy so it might something to explore sooner rather than later 🙂

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