mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
7e1489cf63
Tweak `FlatPat::new` to avoid a temporarily-invalid state It was somewhat confusing that the old constructor would create a `FlatPat` in a (possibly) non-simplified state, and then simplify its contents in-place. So instead we now create its fields as local variables, perform simplification, and then create the struct afterwards. This doesn't affect correctness, but is less confusing. --- I've also included some semi-related comments that I made while trying to navigate this code. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |