diff options
| author | bors <bors@rust-lang.org> | 2023-10-04 11:08:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-04 11:08:44 +0000 |
| commit | 7e9da4007878fb0104812039c9835329306e15fa (patch) | |
| tree | 296893640f48adaee4c901a8a9c48e219914f85a /tests/incremental/thinlto | |
| parent | 36be9134b8c2441b190539221eca10a5eb8db6b5 (diff) | |
| parent | c266387e130de11c60be2c2d7d0a1d5c3bc3eb62 (diff) | |
| download | rust-7e9da4007878fb0104812039c9835329306e15fa.tar.gz rust-7e9da4007878fb0104812039c9835329306e15fa.zip | |
Auto merge of #15700 - rmehri01:15694_iterator_demorgan, r=Veykril
feat: add assist for applying De Morgan's law to `Iterator::all` and `Iterator::any` This PR adds an assist for transforming expressions of the form `!iter.any(|x| predicate(x))` into `iter.all(|x| !predicate(x))` and vice versa. [IteratorDeMorgans.webm](https://github.com/rust-lang/rust-analyzer/assets/52933714/aad1a299-6620-432b-9106-aafd2a7fa9f5) Closes #15694
Diffstat (limited to 'tests/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
