mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 03:36:21 +00:00

When there are two possibilities, both of which use a `String`, it's nicer to use a struct than an enum. Especially when mapping the contents into a tuple.