Skip to content

Improve the AsciiStr trait #17790

Closed
Closed
@nodakai

Description

@nodakai

AsciiStr::to_lower() and AsciiStr::to_upper() should be renamed to AsciiStr::to_lowercase() and AsciiStr::to_uppercase(), respectively, when Ascii::to_lower() and Ascii::to_upper() are deprecated in favor of Ascii::to_lowercase() and Ascii::to_uppercase().

Incidentally, we should perhaps import capitalize() and capwords() from Python.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions