Skip to content

Conditions under which some slice methods return None seem undocumented #40435

Closed

Description

Some methods of slices, including split_first, split_first_mut,
split_last, and split_last_mut return Option types without
documenting the conditions under which they return Some vs None; I
would like to suggest that these conditions be documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: documentation for any part of the project, including the compiler, standard library, and toolsArea: documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions