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 dae485b commit c8960a5Copy full SHA for c8960a5
version-ranges/src/lib.rs
@@ -891,7 +891,7 @@ impl<V: Ord> FromIterator<(Bound<V>, Bound<V>)> for Ranges<V> {
891
// 3. There is at least one version between two segments: By `union`.
892
893
// For this implementation, we choose to only build a single smallvec and insert or remove
894
- // 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
895
// construction the second smallvec without shifting.
896
let mut segments: SmallVec<[Interval<V>; 1]> = SmallVec::new();
897
0 commit comments