Fix run-pass/match-borrowed_str.rs #7306
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
This is actually a really easy one. Instead of println, return a
~str
andassert_eq!(f1(@"a"), "found a")
.The text was updated successfully, but these errors were encountered: