Skip to content

Fix run-pass/match-borrowed_str.rs #7306

Closed
@emberian

Description

@emberian

This is actually a really easy one. Instead of println, return a ~str and assert_eq!(f1(@"a"), "found a").

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions