File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 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> {
8787 }
8888 }
8989
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`.
9191 pub fn from_range_bounds < R , IV > ( bounds : R ) -> Self
9292 where
9393 R : RangeBounds < IV > ,
@@ -287,10 +287,11 @@ impl<V: Version> Range<V> {
287287 self . segments . first ( ) . map ( |( start, _) | start) . cloned ( )
288288 }
289289
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).
291292 /// All versions contained in self, will be in the output,
292293 /// 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.
294295 pub fn bounding_range ( & self ) -> Option < ( Bound < & V > , Bound < & V > ) > {
295296 self . segments . first ( ) . map ( |( start, _) | {
296297 let end = {
You can’t perform that action at this time.
0 commit comments