Skip to content

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

Closed
@8573

Description

@8573

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: 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