diff --git a/README.md b/README.md index 9b2910a..47cbd15 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ assert_eq!( ## Key Definitions: -### Invalid RangeBounds +### Invalid Ranges Within this crate, not all ranges are considered valid ranges. The definition of the validity of a range used diff --git a/src/lib.rs b/src/lib.rs index dc63efd..a606c10 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -98,7 +98,7 @@ along with range_bounds_map. If not, see . //! //! ## Key Definitions: //! -//! ### Invalid RangeBounds +//! ### Invalid Ranges //! //! Within this crate, not all ranges are considered valid //! ranges. The definition of the validity of a range used diff --git a/src/range_bounds_map.rs b/src/range_bounds_map.rs index a563958..d35ae2c 100644 --- a/src/range_bounds_map.rs +++ b/src/range_bounds_map.rs @@ -345,9 +345,8 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -379,9 +378,8 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -545,10 +543,9 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](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 /// ``` @@ -605,9 +602,8 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -801,9 +797,8 @@ where /// /// # Panics /// - /// Panics if the given `outer_range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -890,9 +885,8 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -929,9 +923,8 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -1028,9 +1021,8 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -1121,9 +1113,8 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -1203,9 +1194,8 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -1295,9 +1285,8 @@ where /// /// # Panics /// - /// Panics if the given `range` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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 @@ -1384,9 +1373,8 @@ where /// /// # Panics /// - /// Panics if any of the given `RangeBounds` is an invalid - /// `RangeBounds`. See [`Invalid - /// RangeBounds`](https://docs.rs/range_bounds_map/latest/range_bounds_map/index.html#Invalid-RangeBounds) + /// 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