Skip to content

str::split unclear how repeat sep is handled #10819

@pnkfelix

Description

@pnkfelix

There are two example invocations of str::split in its documentation.

Neither has a case with multiple adjacent occurrences of the argument sep, so one cannot tell from the docs whether such cases will be collapsed or if the iterator will present a series of empty strings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions