![]() 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. |
||
---|---|---|
.. | ||
build | ||
thir | ||
check_unsafety.rs | ||
errors.rs | ||
lib.rs | ||
lints.rs |