]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #13005 - pocket7878:convert-two-arm-bool-match-to-matches-macro, r...
authorbors <bors@rust-lang.org>
Wed, 31 Aug 2022 13:47:40 +0000 (13:47 +0000)
committerbors <bors@rust-lang.org>
Wed, 31 Aug 2022 13:47:40 +0000 (13:47 +0000)
feature: Assist to turn match into matches! invocation

Resolves #12510

This PR adds an assist, which convert 2-arm match that evaluates to a boolean into the equivalent matches! invocation.


Trivial merge