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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cordyceps): add Cursor::splice_before/after, fix split before #234

Merged
merged 3 commits into from
Jun 21, 2022

Conversation

hawkw
Copy link
Owner

@hawkw hawkw commented Jun 20, 2022

No description provided.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
This adds `splice_before` and `splice_after` methods to `Cursor`,
matching the ones on `std::collections::linked_list::CursorMut`.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
This fixes incorrect behavior in `Cursor::split_before` when the cursor
is at the null element.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
@hawkw hawkw enabled auto-merge (rebase) June 21, 2022 17:07
@hawkw hawkw disabled auto-merge June 21, 2022 17:18
@hawkw hawkw merged commit 5e3583c into main Jun 21, 2022
@hawkw hawkw deleted the eliza/cursor-splice branch June 21, 2022 17:18
hawkw added a commit that referenced this pull request Jun 21, 2022
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
hawkw added a commit that referenced this pull request Jun 21, 2022
This adds `splice_before` and `splice_after` methods to `Cursor`,
matching the ones on `std::collections::linked_list::CursorMut`.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
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.

None yet

1 participant