rust/compiler
许杰友 Jieyou Xu (Joe) 0797adb327
Rollup merge of #124508 - Zalathar:op, r=jieyouxu
coverage: Avoid hard-coded values when visiting logical ops

This is a tiny little thing that I noticed during the final review of #123409, and I didn't want to hold up the whole PR just for this.

Instead of separately hard-coding the operation being visited, we can get it from the match arm pattern by using an as-pattern.

`@rustbot` label +A-code-coverage
2024-04-29 18:03:25 +01:00
..
2024-04-25 18:26:36 +00:00
2024-04-18 15:36:25 +10:00
2024-04-15 23:27:21 -04:00
2024-04-14 14:56:41 +02:00
2024-04-24 13:12:25 +01:00