Skip to content

assert_eq!() Should be able to compare &str with String #41254

@mcandre

Description

@mcandre

Hey, could the assert_eq!() macro become more helpful, in particular allowing comparisons between &str's and String's?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.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