Skip to content

Commit

Permalink
fix is_sorted_by ambiguity
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdreko committed Feb 16, 2025
1 parent bc34674 commit 39f2823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polyfill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ mod definitions {
where
F: FnMut(&'a T, &'a T) -> Option<Ordering>,
{
self.iter().is_sorted_by(|a, b| compare(*a, *b))
IterIsSorted::is_sorted_by(self.iter(), |a, b| compare(*a, *b))
}
}

Expand Down

0 comments on commit 39f2823

Please sign in to comment.