docs for str::find say closure but don't use a closuer #45327
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
P-medium
Medium priority
https://doc.rust-lang.org/stable/std/primitive.str.html#examples-21
... but it uses point-free style, not closures.
We should probably show both.
The text was updated successfully, but these errors were encountered: