diff --git a/Cargo.lock b/Cargo.lock index fbd5bab..93b1c71 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -105,7 +105,7 @@ dependencies = [ [[package]] name = "range_bounds_map" -version = "0.3.1" +version = "0.3.2" dependencies = [ "btree_monstrousity", "either", diff --git a/Cargo.toml b/Cargo.toml index 3854c40..791fc28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "range_bounds_map" -version = "0.3.1" +version = "0.3.2" authors = ["James Forster "] edition = "2021" description = """ diff --git a/src/range_bounds_set.rs b/src/range_bounds_set.rs index 2399168..350e147 100644 --- a/src/range_bounds_set.rs +++ b/src/range_bounds_set.rs @@ -106,7 +106,7 @@ where pub fn gaps<'a, Q>( &'a self, range: Q, - ) -> impl Iterator, Bound)> + '_ + ) -> impl DoubleEndedIterator, Bound)> + '_ where Q: NiceRange + 'a, {