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

Remove PhantomData<*mut Waiter> so we don't need to manually impl Send #237

Merged
merged 1 commit into from
Jun 4, 2023

Commits on Jun 4, 2023

  1. Remove PhantomData<*mut Waiter> so we don't need to manually impl Send

    The effect of having `PhantomData<*mut Waiter>` is that the `OnceCell<T>`
    stops being `impl<T: Send> Send for OnceCell<T>`. But we want it to be
    `impl<T: Send> Send for OnceCell<T>`, because we manually mark it as
    such.
    
    Remove the `PhantomData` so we can also remove the manual `impl Send`.
    Enselic committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    3fcb189 View commit details
    Browse the repository at this point in the history