Update the critical key for the right sibling node at `level`.
(&self, level: usize, crit_key: F::Key, pool: &mut NodePool<F>)
| 633 | |
| 634 | /// Update the critical key for the right sibling node at `level`. |
| 635 | fn update_right_crit_key(&self, level: usize, crit_key: F::Key, pool: &mut NodePool<F>) { |
| 636 | let bl = self |
| 637 | .right_sibling_branch_level(level, pool) |
| 638 | .expect("No right sibling exists"); |
| 639 | match pool[self.node[bl]] { |
| 640 | NodeData::Inner { ref mut keys, .. } => { |
| 641 | keys[usize::from(self.entry[bl])] = crit_key; |
| 642 | } |
| 643 | _ => panic!("Expected inner node"), |
| 644 | } |
| 645 | } |
| 646 | |
| 647 | /// Normalize the path position such that it is either pointing at a real entry or `size=0` |
| 648 | /// indicating "off-the-end". |
no test coverage detected