(&mut self)
| 186 | } |
| 187 | |
| 188 | fn right_subtree(&mut self) -> &mut Self { |
| 189 | match self { |
| 190 | Null => panic!("Error: Empty tree!"), |
| 191 | Tree(node) => &mut node.right, |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | // 左右旋 |
| 196 | fn rotate_left(&mut self) { |
no outgoing calls
no test coverage detected