File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ impl<V: Version> Range<V> {
87
87
}
88
88
}
89
89
90
- /// Construct a simple range from anything that impls ` RangeBounds` like `v1..v2`
90
+ /// Construct a simple range from anything that impls [ RangeBounds] like `v1..v2`.
91
91
pub fn from_range_bounds < R , IV > ( bounds : R ) -> Self
92
92
where
93
93
R : RangeBounds < IV > ,
@@ -287,10 +287,11 @@ impl<V: Version> Range<V> {
287
287
self . segments . first ( ) . map ( |( start, _) | start) . cloned ( )
288
288
}
289
289
290
- /// Conver to somthing that can be used with BTreeMap::range
290
+ /// Convert to something that can be used with
291
+ /// [BTreeMap::range](std::collections::BTreeMap::range).
291
292
/// All versions contained in self, will be in the output,
292
293
/// but there may be versions in the output that are not contained in self.
293
- /// returns None if the range is empty.
294
+ /// Returns None if the range is empty.
294
295
pub fn bounding_range ( & self ) -> Option < ( Bound < & V > , Bound < & V > ) > {
295
296
self . segments . first ( ) . map ( |( start, _) | {
296
297
let end = {
You can’t perform that action at this time.
0 commit comments