This commit is contained in:
ripytide 2022-12-12 05:57:33 +00:00
parent 4c65c0f71d
commit 3c050ac4e2
No known key found for this signature in database
GPG Key ID: B2629F9EC7C2FE8C
3 changed files with 5 additions and 12 deletions

2
Cargo.lock generated
View File

@ -108,7 +108,7 @@ dependencies = [
[[package]]
name = "range_bounds_map"
version = "0.0.2"
version = "0.0.5"
dependencies = [
"either",
"itertools",

View File

@ -1,6 +1,6 @@
[package]
name = "range_bounds_map"
version = "0.0.4"
version = "0.0.5"
authors = ["James Forster <james.forsterer@gmail.com>"]
edition = "2021"
description = """

View File

@ -118,15 +118,6 @@ along with range_bounds_map. If not, see <https://www.gnu.org/licenses/>.
//! When a `RangeBounds` "coalesces" other `RangeBounds` it absorbs them
//! to become larger.
//!
//! # How
//!
//! Most of the [`RangeBounds`]-specific methods on [`RangeBoundsMap`]
//! utilize the [`RangeBoundsMap::overlapping()`] method which
//! internally uses [`BTreeMap`]'s [`range()`] function. To allow
//! using [`range()`] for this purpose a newtype wrapper is wrapped
//! around the [`start_bound()`]s so that we can apply our custom [`Ord`]
//! implementation onto all the [`start_bound()`]s.
//!
//! # Improvements/Caveats
//!
//! - Missing some functions common to BTreeMap and BTreeSet like:
@ -142,7 +133,9 @@ along with range_bounds_map. If not, see <https://www.gnu.org/licenses/>.
//! I originally came up with the `StartBound`: [`Ord`] bodge on my own,
//! however, I later stumbled across [`rangemap`] which also used a
//! `StartBound`: [`Ord`] bodge. [`rangemap`] then became my main source
//! of inspiration. The aim for my library was to become a more generic
//! of inspiration.
//!
//! The aim for my library was to become a more generic
//! superset of [`rangemap`], following from [this
//! issue](https://github.com/jeffparsons/rangemap/issues/56) and [this
//! pull request](https://github.com/jeffparsons/rangemap/pull/57) in