Skip to content

Commit 6a4dda2

Browse files
authored
Merge pull request #342 from RoaringBitmap/bump-version
Bump version to v0.11.3
2 parents ad96740 + d28fc94 commit 6a4dda2

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- nightly
2222
# When changing this value don't forget to change the `package.rust-version` field in
2323
# `roaring/Cargo.toml`!!!
24-
- 1.80.1
24+
- 1.82.0
2525
env:
2626
RUSTFLAGS: "-C target-cpu=native -C opt-level=3"
2727

@@ -64,7 +64,7 @@ jobs:
6464
- stable
6565
- beta
6666
- nightly
67-
- 1.80.1
67+
- 1.82.0
6868
features:
6969
- default
7070
- no-std
@@ -98,7 +98,7 @@ jobs:
9898
run: cargo test -p roaring --features serde
9999

100100
- name: Test Benches
101-
if: matrix.rust != '1.80.1' && matrix.features == 'default'
101+
if: matrix.rust != '1.82.0' && matrix.features == 'default'
102102
run: cargo test -p benchmarks --benches
103103

104104
- name: Test no default features

roaring/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "roaring"
3-
version = "0.11.2"
3+
version = "0.11.3"
44
# When changing this value don't forget to change the MSRV test in `.github/workflows/test.yml`!!
5-
rust-version = "1.80.1"
5+
rust-version = "1.82.0"
66
authors = ["Wim Looman <wim@nemo157.com>", "Kerollmops <kero@meilisearch.com>"]
77
description = "A better compressed bitset - pure Rust implementation"
88

roaring/src/bitmap/store/array_store/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ impl ArrayStore {
150150
}
151151

152152
pub fn push(&mut self, index: u16) -> bool {
153-
if self.max().map_or(true, |max| max < index) {
153+
if self.max().is_none_or(|max| max < index) {
154154
self.vec.push(index);
155155
true
156156
} else {
@@ -493,7 +493,7 @@ impl SubAssign<&Self> for ArrayStore {
493493
let mut i = 0;
494494
self.retain(|x| {
495495
i += rhs.iter().skip(i).position(|y| *y >= x).unwrap_or(rhs.vec.len());
496-
rhs.vec.get(i).map_or(true, |y| x != *y)
496+
rhs.vec.get(i).is_none_or(|y| x != *y)
497497
});
498498
}
499499
}

roaring/src/bitmap/store/bitmap_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl BitmapStore {
155155
}
156156

157157
pub fn push(&mut self, index: u16) -> bool {
158-
if self.max().map_or(true, |max| max < index) {
158+
if self.max().is_none_or(|max| max < index) {
159159
self.insert(index);
160160
true
161161
} else {

0 commit comments

Comments
 (0)