Skip to content

[docs] trim_start_matches and trim_end_matches have copy+pasted docs #57686

Closed
@vitiral

Description

@vitiral

trim_start_matches states:

Text directionality

A string is a sequence of bytes. 'Left' in this context means the first position of that byte string; for a language like Arabic or Hebrew which are 'right to left' rather than 'left to right', this will be the right side, not the left.

But "left" is never mentioned XD

Same is true for trim_end_matches.

(Note: copy/pasted from trim_left_matches and trim_right_matches)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions