-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Tracking Issue for OnceCell/Lock::get_mut_or_init
#121641
Labels
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Comments
tisonkun
added
the
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
label
Feb 26, 2024
4 tasks
jieyouxu
added
the
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
label
Feb 28, 2024
The documentation seems wrong?
Since it takes The implementation can likewise be simplified a lot by not using any synchronization. |
This was referenced Jul 31, 2024
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jul 31, 2024
Fix docs for OnceLock::get_mut_or_init Removes an incorrect statment about concurrency from the `OnceLock::get_mut_or_init` (tracked in rust-lang#121641) docs. Fixes rust-lang#128429
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Aug 1, 2024
Rollup merge of rust-lang#128457 - juntyr:once-lock-docs, r=tgross35 Fix docs for OnceLock::get_mut_or_init Removes an incorrect statment about concurrency from the `OnceLock::get_mut_or_init` (tracked in rust-lang#121641) docs. Fixes rust-lang#128429
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Feature gate:
#![feature(once_cell_get_mut)]
This is a tracking issue for
OnceCell::get_mut_or_init()
OnceCell::get_mut_or_try_init()
OnceLock::get_mut_or_init()
OnceLock::get_mut_or_try_init()
Public API
Steps / History
Unresolved Questions
None yet.
Footnotes
The text was updated successfully, but these errors were encountered: