Fix `single_match` lint being emitted when it should not (#13765)
We realized when running `clippy --fix` on rustdoc (PR comment [here](https://github.com/rust-lang/rust/pull/133537/files#r1861377721)) that some comments were removed, which is problematic. This PR checks that comments outside of `match` arms are taken into account before emitting the lint. changelog: Fix `single_match` lint being emitted when it should not
L
llogiq committed
c607408df56146d875e292966a2ea1488bed4981
Committed by GitHub <noreply@github.com>
on 12/13/2024, 4:52:31 PM