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

Use AtomicPtr for race::OnceRef to avoid ptr-int-ptr #219

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

Imberflur
Copy link
Contributor

Same rationale as #185

Potentially, a OncePtr abstraction could be factored out and used in both OnceBox and OnceRef.

@matklad
Copy link
Owner

matklad commented Feb 14, 2023

Yeah, this makes sense!

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 14, 2023

Build succeeded:

@bors bors bot merged commit 78ab172 into matklad:master Feb 14, 2023
bors bot added a commit that referenced this pull request Feb 14, 2023
222: Bump version to 1.17.1 and update the changelog. r=matklad a=Imberflur

Adds changelog entry for #219

Extracted from #221 since that needs [a higher MSRV ](rust-lang/rust#98383).

Co-authored-by: Imbris <[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.

2 participants