Skip to content

Minor fixes to core::io & alloc::io Documentation - #160472

Open
bushrat011899 wants to merge 1 commit into
rust-lang:mainfrom
bushrat011899:io_documentation_v2
Open

Minor fixes to core::io & alloc::io Documentation#160472
bushrat011899 wants to merge 1 commit into
rust-lang:mainfrom
bushrat011899:io_documentation_v2

Conversation

@bushrat011899

@bushrat011899 bushrat011899 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

ACP: rust-lang/libs-team#755
Tracking issue: #154046
Supersedes: #160413

Description

Minor tweaks to the documentation in core::io and alloc::io after proof-reading. In #160413 I attempted to rewrite all example snippets to be no_std/no_alloc compatible where relevant. I've closed that in favour of smaller adjustments, as there are many examples of std-requiring code snippets in core documentation (e.g., core::borrow).


Notes

  • No AI tooling of any kind was used during the creation of this PR.

@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 Aug 3, 2026
@rustbot

rustbot commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

r? @nia-e

rustbot has assigned @nia-e.
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: libs
  • libs expanded to 12 candidates
  • Random selection from 6 candidates

@rust-log-analyzer

This comment has been minimized.

@bushrat011899

bushrat011899 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

CI failure must be unrelated to this PR, unless there's some interaction between documentation and GCC I'm unaware of...

EDIT: See #160468

@rustbot

rustbot commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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