diff options
| author | Jane Lusby <jlusby42@gmail.com> | 2018-09-21 00:26:38 -0700 |
|---|---|---|
| committer | Jane Lusby <jlusby42@gmail.com> | 2018-09-24 14:29:16 -0700 |
| commit | 14feb3670f4e1e5ff759253b9dc86cfbb29ff8a5 (patch) | |
| tree | eb3301c3073db80eb1b01a25cb72e4b9e97e3ebe /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 417cf206cace45cc656f9a605221017e4fe4ef94 (diff) | |
| download | rust-14feb3670f4e1e5ff759253b9dc86cfbb29ff8a5.tar.gz rust-14feb3670f4e1e5ff759253b9dc86cfbb29ff8a5.zip | |
Lint for chaining flatten after map
This change adds a lint to check for instances of `map(..).flatten()` that can be trivially shortened to `flat_map(..)` Closes #3196
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
