We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some cases to consider:
.prev()
left-child
right-child
left-span
right-span
I'm thinking we should perhaps return the Option type more often in both FlatTree and the Iterator structs.
Option
FlatTree
Iterator
The text was updated successfully, but these errors were encountered:
Speak of the devil. Ran into the .prev() issue.
Sorry, something went wrong.
@yoshuawuyts But we're checking index in .prev()
flat-tree/src/iterator.rs
Lines 65 to 67 in 30f6a07
apparently it can slip through and still crash. Error originates on Iterator, line 69 😞
No branches or pull requests
Some cases to consider:
.prev()
on the iterator while at the left nodesleft-child
/right-child
of a leaf nodeleft-span
/right-span
of a leaf nodeI'm thinking we should perhaps return the
Option
type more often in bothFlatTree
and theIterator
structs.The text was updated successfully, but these errors were encountered: