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

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.

hawkw added 3 commits June 21, 2022 10:05
This adds `splice_before` and `splice_after` methods to `Cursor`,
matching the ones on `std::collections::linked_list::CursorMut`.

Signed-off-by: Eliza Weisman <[email protected]>
This fixes incorrect behavior in `Cursor::split_before` when the cursor
is at the null element.

Signed-off-by: Eliza Weisman <[email protected]>
@hawkw hawkw force-pushed the eliza/cursor-splice branch from 97fc93f to 19981de Compare June 21, 2022 17:07
@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
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 <[email protected]>
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