summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatt Fellenz <matt@felle.nz>2023-05-01 04:29:59 -0700
committerGitHub <noreply@github.com>2023-05-01 13:29:59 +0200
commitb41cce191ca792e4622d859f3f8b84d45f9e070c (patch)
tree2d05e054c2dd6bd5712f7887042f1467f1714722 /tests
parent407d8a3ab291c953d9dec826015099dd0d18749e (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 'tests')
0 files changed, 0 insertions, 0 deletions