Skip to content

str::split does not clarify what happens when there is no match #142734

@lolbinarycat

Description

@lolbinarycat

Location

https://doc.rust-lang.org/nightly/std/primitive.str.html#method.split

Summary

None of the prose or examples detail the no match case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-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