add an example to the readme for overlap
This commit is contained in:
parent
3616225c13
commit
92850de342
@ -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
|
||||
|
||||
|
@ -275,7 +275,8 @@ along with discrete_range_map. If not, see <https://www.gnu.org/licenses/>.
|
||||
//! ### 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
|
||||
//!
|
||||
|
Loading…
x
Reference in New Issue
Block a user