mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-03 01:02:38 +03:00
526326e10d
Use `CoverageKind::as_operand_id` instead of manually reimplementing it These two pieces of code are functionally equivalent to the `CoverageKind::as_operand_id` method that already exists, and is already used elsewhere in this file. This slightly reduces the amount of code that manually pattern-matches on `CoverageKind`.