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

The Index of Option is outdated as it's missing some functions #138955

Open
Natural-selection1 opened this issue Mar 26, 2025 · 0 comments · May be fixed by #138957
Open

The Index of Option is outdated as it's missing some functions #138955

Natural-selection1 opened this issue Mar 26, 2025 · 0 comments · May be fixed by #138957
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools A-result-option Area: Result and Option combinators needs-triage This issue may need triage. Remove it if it has been sufficiently triaged.

Comments

@Natural-selection1
Copy link
Contributor

Natural-selection1 commented Mar 26, 2025

Location

https://doc.rust-lang.org/std/option/index.html

Summary

Querying the variant : miss is_some_and and is_none_or
Adapters for working with references: miss as_slice and as_mut_slice
Extracting the contained value: miss unwrap_unchecked
And miss inspect

This issue and #138966 are twin issues

@Natural-selection1 Natural-selection1 added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Mar 26, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Mar 26, 2025
@lolbinarycat lolbinarycat added the A-result-option Area: Result and Option combinators label Mar 27, 2025
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 A-result-option Area: Result and Option combinators needs-triage This issue may need triage. Remove it if it has been sufficiently triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants