Skip to content
New issue

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

Implement Drain #3

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Implement Drain #3

wants to merge 2 commits into from

Conversation

sharnoff
Copy link
Member

No description provided.

Add `bounded_search_step` as shared component of iterator bound search
logic, in 'src/tree/mod.rs'. Also move `panic_internal_error_or_bad_index`
into 'src/tree/mod.rs' so that it can be used by `Drain` as well.
This commit also adds the `DrainMut` borrow type for
`{Node,Slice}Handle`s, to allow access to nodes in a way that doesn't
need to uphold the initialization guarantees of slice values and
`RefId`s (i.e., `Leaf.vals` and `Leaf.refs`). Hopefully the
documentation contained there should be enough to understand it as is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant