Skip to content

alloc crate: shrink undocumented unsafe blocks - #162102

Draft
DanielEScherzer wants to merge 1 commit into
rust-lang:mainfrom
DanielEScherzer:less-unsafe-in-alloc
Draft

alloc crate: shrink undocumented unsafe blocks#162102
DanielEScherzer wants to merge 1 commit into
rust-lang:mainfrom
DanielEScherzer:less-unsafe-in-alloc

Conversation

@DanielEScherzer

Copy link
Copy Markdown
Contributor

Reduce the scope of unsafe blocks that are not yet documented by moving safe operations out of the blocks, making it easier to add the missing documentation in the future.

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Sep 1, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

Reduce the scope of `unsafe` blocks that are not yet documented by moving safe
operations out of the blocks, making it easier to add the missing documentation
in the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

3 participants