diff --git a/src/discrete_range_map.rs b/src/discrete_range_map.rs index 24f0a1c..92ac210 100644 --- a/src/discrete_range_map.rs +++ b/src/discrete_range_map.rs @@ -700,9 +700,6 @@ 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 range - /// such as `(Bound::Unbounded, Bound::Unbounded)`. - /// /// # Panics /// /// Panics if the given range is an invalid range. See [`Invalid @@ -1123,8 +1120,7 @@ where /// The value of the merged-together range is set to the value given for /// this insertion. /// - /// If successful then the newly inserted (possibly merged) range is - /// returned. + /// The newly inserted (possibly merged) range is returned. /// /// # Panics /// @@ -1202,8 +1198,7 @@ where /// The value of the merged-together range is set to the value given for /// this insertion. /// - /// If successful then the newly inserted (possibly merged) range is - /// returned. + /// The newly inserted (possibly merged) range is returned. /// /// # Panics ///