diff options
| author | Matt Fellenz <matt@felle.nz> | 2023-05-01 04:29:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-01 13:29:59 +0200 |
| commit | b41cce191ca792e4622d859f3f8b84d45f9e070c (patch) | |
| tree | 2d05e054c2dd6bd5712f7887042f1467f1714722 /Cargo.lock | |
| parent | 407d8a3ab291c953d9dec826015099dd0d18749e (diff) | |
Optimize `.count() > 1` check (#1053)
This can be trivially optimized to `.nth(1).is_some()` which obviates evaluating every element in the iterator.
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions
