Skip to content

Typo: missing "the" in str::strip_prefix doc #121348

Closed
@malobre

Description

@malobre

Location

https://doc.rust-lang.org/stable/std/primitive.str.html#method.strip_prefix

/// If the string starts with the pattern `prefix`, returns substring after the prefix, wrapped

Summary

If the string starts with the pattern prefix, returns substring after the prefix [...]
                                                     ^ the

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