Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
malobre opened this issue Feb 20, 2024 · 1 comment · Fixed by #121352
Closed

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

malobre opened this issue Feb 20, 2024 · 1 comment · Fixed by #121352
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools T-libs Relevant to the library team, which will review and decide on the PR/issue.

Comments

@malobre
Copy link
Contributor

malobre commented Feb 20, 2024

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
@malobre malobre added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Feb 20, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Feb 20, 2024
@Noratrieb
Copy link
Member

Makes sense, PRs welcome.

@Noratrieb Noratrieb added T-libs Relevant to the library team, which will review and decide on the PR/issue. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Feb 20, 2024
@bors bors closed this as completed in c03f61b Feb 21, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Feb 21, 2024
Rollup merge of rust-lang#121352 - malobre:patch-1, r=Nilstrieb

docs: add missing "the" to `str::strip_prefix` doc

Fix rust-lang#121348
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants