Skip to content

Option::get_or_insert(_with) incorrectly documented as experimental #129326

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

Closed
iamthad opened this issue Aug 20, 2024 · 2 comments
Closed

Option::get_or_insert(_with) incorrectly documented as experimental #129326

iamthad opened this issue Aug 20, 2024 · 2 comments
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Comments

@iamthad
Copy link

iamthad commented Aug 20, 2024

Location

Documentation of std::option::Option.

Summary

The documentation for get_or_insert and get_or_insert_with lists them as nightly-only experimental APIs under the option_entry feature, but that feature was stabilized in 1.20.0 according to #39288

@iamthad iamthad added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Aug 20, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 20, 2024
@jieyouxu jieyouxu added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Aug 20, 2024
@cyrgani
Copy link
Contributor

cyrgani commented Aug 20, 2024

That documentation page appears to be horribly out of date, the current page hosting the documentation shows it als stable: get_or_insert_with.

@iamthad
Copy link
Author

iamthad commented Aug 20, 2024

My mistake; I saw rust-lang.org in the URL and thought I was in the right place.

@iamthad iamthad closed this as completed Aug 20, 2024
@jieyouxu jieyouxu added T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. and removed T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants