Add generic parameter explanations to RangeBoundsMap

This commit is contained in:
ripytide 2022-12-10 00:07:06 +00:00
parent c8e4d89998
commit b6006de296
2 changed files with 9 additions and 2 deletions

View File

@ -33,6 +33,15 @@ use crate::TryFromBounds;
/// An ordered map of [`RangeBounds`] based on [`BTreeMap`]
///
/// `I` is the generic type parameter for the [`Ord`] type the `K` type
/// is [`RangeBounds`] over.
///
/// `K` is the generic type parameter for the [`RangeBounds`]
/// implementing type stored as the keys in the map.
///
/// `V` is the generic type parameter for the values associated with the
/// keys in the map.
///
/// # Examples
/// ```
/// use range_bounds_map::RangeBoundsMap;

View File

@ -4,8 +4,6 @@
- replace MultiBounds::\* with mee() and mii()
- make a StartBoundWrapper that uses StartBound to implement ord and
use that instead of storing the startbound twice
- change startBound to BoundOrd with constructors for either start or
end_bounds
# features