VSOT2QH5OFG6XX6P7TXZF62IDA2FL7PSEPA2YJCAEFQNJTD5MMLAC
while btree::del(&mut self.txn, &mut self.dep, ch, None)? {}
while btree::del(&mut self.txn, &mut self.revdep, ch, None)? {}
for x in btree::iter(&self.txn, &self.dep, Some((ch, None)))? {
let (k, v) = x?;
if k > ch {
break
}
deps.push((*k, *v));
}
for (k, v) in deps.drain(..) {
btree::del(&mut self.txn, &mut self.revdep, &k, Some(&v))?;
btree::del(&mut self.txn, &mut self.revdep, &v, Some(&k))?;
}