Skip to content

Commit 292f3d0

Browse files
committed
Sorting comment
1 parent b2a4269 commit 292f3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

version-ranges/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ impl<V: Ord> FromIterator<(Bound<V>, Bound<V>)> for Ranges<V> {
838838
// 3. There is at least one version between two segments: By `union`.
839839

840840
// For this implementation, we choose to only build a single smallvec and insert or remove
841-
// in it, instead of e.g. collecting the segments into one smallvec, sorting that and then
841+
// in it, instead of e.g. collecting the segments into a sorted datastructure first and then
842842
// construction the second smallvec without shifting.
843843
let mut segments: SmallVec<[Interval<V>; 1]> = SmallVec::new();
844844

0 commit comments

Comments
 (0)