Skip to content

Commit

Permalink
btree_drain_filter got renamed to btree_extract_if
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefs committed Sep 12, 2023
1 parent 30fe416 commit 76d6f57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(btree_drain_filter)]
#![feature(btree_extract_if)]

pub mod args;
pub mod counter;
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(btree_drain_filter)]
#![feature(btree_extract_if)]

mod args;
mod counter;
Expand Down
2 changes: 1 addition & 1 deletion src/seg_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ fn infer_namespaces_aux(h: &mut BTreeSet<NamespaceCandidate>, MIN_NS_SIZE: usize
let mut found = false;

match h
.drain_filter(|item| {
.extract_if(|item| {
if !found {
let suitable = item
.node
Expand Down

0 comments on commit 76d6f57

Please sign in to comment.