Skip to content

Use a generic type paramater #9

@cmyr

Description

@cmyr

This would be a very small non-breaking ergonomic improvement: it would be nice if the input types were AsRef<str>, which would let the function transparently accept both String and &str.

If this is interesting to you I'd be happy to PR.

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