diff --git a/src/range_bounds_map.rs b/src/range_bounds_map.rs index d7b33a5..b69568a 100644 --- a/src/range_bounds_map.rs +++ b/src/range_bounds_map.rs @@ -31,7 +31,7 @@ use serde::{Deserialize, Serialize}; use crate::bound_ord::BoundOrd; use crate::TryFromBounds; -/// An ordered map of [`RangeBounds`] based on [`BTreeMap`]. +/// An ordered map of non-overlapping [`RangeBounds`] based on [`BTreeMap`]. /// /// `I` is the generic type parameter for the [`Ord`] type the `K` type /// is [`RangeBounds`] over. diff --git a/src/range_bounds_set.rs b/src/range_bounds_set.rs index 3b3ea4f..a1c5fc6 100644 --- a/src/range_bounds_set.rs +++ b/src/range_bounds_set.rs @@ -28,7 +28,7 @@ use crate::{ TryFromBoundsError, }; -/// An ordered set of [`RangeBounds`] based on [`RangeBoundsMap`]. +/// An ordered set of non-overlapping [`RangeBounds`] based on [`RangeBoundsMap`]. /// /// `I` is the generic type parameter for the [`Ord`] type the `K` /// type is [`RangeBounds`] over. diff --git a/todo.md b/todo.md index 9ee1eb0..6926570 100644 --- a/todo.md +++ b/todo.md @@ -1,10 +1,8 @@ # refactor -- try and fix all the uses of cloned() in the library -- replace MultiBounds::\* with mee() and mii() +- try to fix all the uses of cloned() in the library - make a StartBoundWrapper that uses StartBound to implement ord and use that instead of storing the startbound twice -- do a /map on set.rs after finishing it - text flow all comments # features