(&mut self)
| 173 | } |
| 174 | |
| 175 | fn right_subtree(&mut self) -> &mut Self { |
| 176 | match *self { |
| 177 | Null => panic!("Empty tree"), |
| 178 | Tree(ref mut node) => &mut node.right, |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | // 左右旋 |
| 183 | fn rotate_left(&mut self) { |
no outgoing calls
no test coverage detected