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

add into_ref for CursorMut #72

Merged
merged 2 commits into from
May 24, 2022

Conversation

fominok
Copy link
Contributor

@fominok fominok commented May 23, 2022

This PR adds an ability to reuse existing RBTree's CursorMut instance to get reference to a pointee value that may outlive cursor, like Cursor::get does

@Amanieu
Copy link
Owner

Amanieu commented May 23, 2022

Can you do the same for all the other CursorMuts for the other collection types?

@fominok
Copy link
Contributor Author

fominok commented May 24, 2022

Can you do the same for all the other CursorMuts for the other collection types?

@Amanieu done

@fominok fominok changed the title add for RBTree's CursorMut add into_ref for CursorMut May 24, 2022
@Amanieu Amanieu merged commit 322904d into Amanieu:master May 24, 2022
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.

2 participants