Skip to content

std(String): Docs issue; remove word #143579

Closed
@iampi31415

Description

@iampi31415

Location

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

Summary

Next, what should s[i] return? Because indexing returns a reference to underlying data it could be &u8, &[u8], or something else similar.

It should be (bold is only so you can compare quickly)

Next, what should s[i] return? Because indexing returns a reference to underlying data it could be &u8, &[u8], or something similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions