| 921 | // a fixed size |
| 922 | |
| 923 | struct TreeNode<T> { |
| 924 | pub left: Option<Box<TreeNode<T>>>, |
| 925 | pub right: Option<Box<TreeNode<T>>>, |
| 926 | pub key: T, |
| 927 | } |
| 928 | |
| 929 | // Create functions for creating nodes and adding left & right |
| 930 | impl<T> TreeNode<T> { |
nothing calls this directly
no outgoing calls
no test coverage detected