Skip to content

AsciiExt docs are incorrect #40714

Closed
Closed
@steveklabnik

Description

@steveklabnik

https://doc.rust-lang.org/stable/std/ascii/trait.AsciiExt.html

Extension methods for ASCII-subset only operations on string slices.

but at the bottom

    impl AsciiExt for str
    impl AsciiExt for [u8]
    impl AsciiExt for u8
    impl AsciiExt for char

That is, they are not just for string slices, but also for u8 slices, u8, and char.

I'm not sure what the right wording is here, exactly, maybe just drop the whole 'on string slices' bit.

I'm happy to mentor anyone who wants to tackle this issue.

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-help-wantedCall for participation: Help is requested to fix this issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions