Skip to content

Fix typos and grammar in library documentation#152439

Open
him2him2 wants to merge 1 commit intorust-lang:mainfrom
him2him2:fix-typos-libs
Open

Fix typos and grammar in library documentation#152439
him2him2 wants to merge 1 commit intorust-lang:mainfrom
him2him2:fix-typos-libs

Conversation

@him2him2
Copy link
Copy Markdown
Contributor

Fix contextual typos and grammar issues in library docs that automated spellcheckers miss:

  • library/core/src/macros/panic.md: remove duplicate word ("another other" → "another")
  • library/core/src/error.md: fix spacing ("Often times" → "Oftentimes")
  • library/core/src/ptr/docs/as_ref.md: fix wrong types in Null-unchecked section (&mut T&T)
  • library/core/src/ffi/c_ulong.md: fix article ("an u64" → "a u64")
  • library/core/src/ffi/c_void.md: fix plural ("compiler" → "compilers")
  • library/core/src/ptr/docs/as_uninit_slice.md: fix subject-verb agreement ("is true" → "are true")
  • library/std_detect/README.md: fix article ("an user-space" → "a user-space")

No functional changes.

- library/core/src/macros/panic.md: remove duplicate word ("another other" → "another")
- library/core/src/error.md: fix spacing ("Often times" → "Oftentimes")
- library/core/src/ptr/docs/as_ref.md: fix wrong types in Null-unchecked section (&mut T → &T)
- library/core/src/ffi/c_ulong.md: fix article ("an u64" → "a u64")
- library/core/src/ffi/c_void.md: fix plural ("old Rust compiler" → "old Rust compilers")
- library/core/src/ptr/docs/as_uninit_slice.md: fix subject-verb agreement ("is true" → "are true")
- library/std_detect/README.md: fix article ("an user-space" → "a user-space")
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Feb 10, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Feb 10, 2026

r? @ibraheemdev

rustbot has assigned @ibraheemdev.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @scottmcm, libs
  • @scottmcm, libs expanded to 8 candidates
  • Random selection from Mark-Simulacrum, ibraheemdev, scottmcm

@JayanAXHF JayanAXHF added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Feb 10, 2026
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 S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants