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.
1 parent b2a4269 commit 292f3d0Copy full SHA for 292f3d0
version-ranges/src/lib.rs
@@ -838,7 +838,7 @@ impl<V: Ord> FromIterator<(Bound<V>, Bound<V>)> for Ranges<V> {
838
// 3. There is at least one version between two segments: By `union`.
839
840
// 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
+ // in it, instead of e.g. collecting the segments into a sorted datastructure first and then
842
// construction the second smallvec without shifting.
843
let mut segments: SmallVec<[Interval<V>; 1]> = SmallVec::new();
844
0 commit comments