We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
{partial_}cmp{_by}
1 parent 4064a6b commit d9f58d4Copy full SHA for d9f58d4
library/core/src/iter/traits/iterator.rs
@@ -3616,7 +3616,7 @@ pub trait Iterator {
3616
}
3617
3618
3619
- match SpecIterCompare::spec_iter_compare(self, other.into_iter(), compare(cmp)) {
+ match iter_compare(self, other.into_iter(), compare(cmp)) {
3620
ControlFlow::Continue(ord) => ord,
3621
ControlFlow::Break(ord) => ord,
3622
@@ -3708,7 +3708,7 @@ pub trait Iterator {
3708
3709
3710
3711
- match SpecIterCompare::spec_iter_compare(self, other.into_iter(), compare(partial_cmp)) {
+ match iter_compare(self, other.into_iter(), compare(partial_cmp)) {
3712
ControlFlow::Continue(ord) => Some(ord),
3713
3714
0 commit comments