Skip to content

Support std::borrow::Cow<'a, str> #80

Description

@loafofpiecrust

I'd like to write my AST types to hold a Cow<'a, str> so that they may either be borrowed from a parsed string or own the string data. Would this be possible to support in nom_locate alongside the existing support for &str and &[u8]?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions