update gaps docs

This commit is contained in:
ripytide
2023-04-06 19:10:41 +01:00
parent 468127f82b
commit 31378a3b59
+5 -6
View File
@@ -543,9 +543,9 @@ where
///
/// # Panics
///
/// Panics if the given range is an invalid range. See [`Invalid
/// Ranges`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds)
/// for more details.
/// Panics if the given range is an invalid range. See [`Invalid
/// Ranges`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds)
/// for more details.
///
/// # Examples
/// ```
@@ -791,9 +791,8 @@ where
/// Returns an iterator of ranges over all the maximally-sized
/// gaps in the map that are also within the given `outer_range`.
///
/// To get all possible gaps call `gaps()` with an unbounded
/// `RangeBounds` such as `&(..)` or `&(Bound::Unbounded,
/// Bound::Unbounded)`.
/// To get all possible gaps call `gaps()` with an unbounded range
/// such as `(Bound::Unbounded, Bound::Unbounded)`.
///
/// # Panics
///