Skip to content

impl Send for TreeUpdateBuilder #784

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

Merged

Conversation

joshtriplett
Copy link
Member

TreeUpdateBuilder does not have any interior mutability, and the
underlying libgit2 data structures are safe to send to a different
thread as long as the old doesn't have a copy anymore.

TreeUpdateBuilder does not have any interior mutability, and the
underlying libgit2 data structures are safe to send to a different
thread as long as the old doesn't have a copy anymore.
@alexcrichton alexcrichton merged commit 5383afc into rust-lang:master Dec 1, 2021
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