diff --git a/README.md b/README.md index 4e40cae..c1588e0 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,8 @@ Here are a few examples of ranges and whether they are valid: ### Overlap Two ranges are "overlapping" if there exists a point that is contained -within both ranges. +within both ranges. For example, `2..4` and `2..6` overlap but `2..4` +and `4..8` do not. ### Touching diff --git a/src/lib.rs b/src/lib.rs index a18d487..f0bc278 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -275,7 +275,8 @@ along with discrete_range_map. If not, see . //! ### Overlap //! //! Two ranges are "overlapping" if there exists a point that is contained -//! within both ranges. +//! within both ranges. For example, `2..4` and `2..6` overlap but `2..4` +//! and `4..8` do not. //! //! ### Touching //!