Skip to content

String::as_mut_str should have a doc example #44429

Closed
@frewsxcv

Description

@frewsxcv

https://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_mut_str

For this one, ideally the example would demonstrate mutation.

If anyone anyone wants to work on this, just mention it in a comment to prevent duplicate work. If you need any help or have any questions, don't hesitate to ping me :)

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.P-lowLow priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions