Update Condvar docs to use match ergonomics #62857
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.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
In
std::sync::Condvar
's docs, it looks like line 39:and line 51
were written before the match ergonomics RFC was merged.
Is it reasonable/preferable to change these lines to leverage match ergonomics? They would become:
and
respectively.
The text was updated successfully, but these errors were encountered: