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

Make additional types Send + Sync #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tov
Copy link
Owner

@tov tov commented Dec 20, 2021

Make some types Send + Sync:

  • middle::Cif
  • middle::Type
  • high::Type

I believe this is safe because none of these types
provides any kind of interior mutability. The wrappers
ensure that these types behave like ordinary, owned
Rust objects.

  - middle::Cif
  - middle::Type
  - high::Type<T>

I believe this is safe because none of these types
provides any kind of interior mutability. The wrappers
ensure that these types behave like ordinary, owned
Rust objects.
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