Skip to content

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

Closed
@Natural-selection1

Description

@Natural-selection1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-result-optionArea: Result and Option combinatorsT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions