Skip to content

Add impl From<&String> for String #59827

Closed
@jsgf

Description

@jsgf

If a function takes impl Into<String> it would be nice to pass it a &String (say, from pattern matching) without additional friction.

#59825 implements this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions