mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 19:37:08 +00:00
Refactor single variant `Candidate` enum into a struct `Candidate` enum has only a single `Ref` variant. Refactor it into a struct and reduce overall indentation of the code by two levels. No functional changes.