Some cases to consider:
- calling
.prev() on the iterator while at the left nodes
- calling
left-child / right-child of a leaf node
- calling
left-span / right-span of a leaf node
I'm thinking we should perhaps return the Option type more often in both FlatTree and the Iterator structs.
Some cases to consider:
.prev()on the iterator while at the left nodesleft-child/right-childof a leaf nodeleft-span/right-spanof a leaf nodeI'm thinking we should perhaps return the
Optiontype more often in bothFlatTreeand theIteratorstructs.