Skip to content

core: ptr: split_at_mut: fix typo in safety doc - #150995

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
lschuermann:dev/core-ptr-split-at-mut-docs-fix
Jan 13, 2026
Merged

core: ptr: split_at_mut: fix typo in safety doc#150995
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
lschuermann:dev/core-ptr-split-at-mut-docs-fix

Conversation

@lschuermann

Copy link
Copy Markdown
Contributor

Removes the double subject "it" in the safety documentation of core::ptr::split_at_mut for raw slice pointers, as it does not refer to anything.

Reported-by: Johnathan Van Why jrvanwhy@betterbytes.org

Removes the double subject "it" in the safety documentation of
`core::ptr::split_at_mut` for raw slice pointers, as it does not refer
to anything.
Reported-by: Johnathan Van Why <jrvanwhy@betterbytes.org>
@rustbotrustbot 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 Jan 12, 2026
@rustbot

Copy link
Copy Markdown
Collaborator

r? @joboet

rustbot has assigned @joboet.
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

@joboet

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-borsrust-borsBot added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jan 12, 2026
@rust-bors

rust-borsBot commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b327e30 has been approved by joboet

It is now in the queue for this repository.

@rust-borsrust-borsBot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 12, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jan 12, 2026
…, r=joboet
core: ptr: split_at_mut: fix typo in safety doc
Removes the double subject "it" in the safety documentation of `core::ptr::split_at_mut` for raw slice pointers, as it does not refer to anything.
Reported-by: Johnathan Van Why <jrvanwhy@betterbytes.org>
rust-borsBot pushed a commit that referenced this pull request Jan 12, 2026
…uwer
Rollup of 13 pull requests
Successful merges:
- #145343 (Dogfood `-Zno-embed-metadata` in the standard library)
- #150151 (Destabilise `target-spec-json`)
- #150723 (std: move `errno` and related functions into `sys::io`)
- #150771 (Remove legacy homu `try` and `auto` branch mentions)
- #150826 (Add `f16` inline ASM support for s390x)
- #150934 (Move some checks from `check_doc_attrs` directly into `rustc_attr_parsing`)
- #150943 (Port `#[must_not_suspend]` to attribute parser)
- #150990 (std: sys: net: uefi: Make TcpStream Send)
- #150995 (core: ptr: split_at_mut: fix typo in safety doc)
- #150998 (Relax test expectation for @__llvm_profile_runtime_user)
- #151002 (Remove a workaround for a bug (take 2))
- #151005 (Fix typo in `MaybeUninit` docs)
- #151011 (Update books)
r? @ghost
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 12, 2026
…, r=joboet
core: ptr: split_at_mut: fix typo in safety doc
Removes the double subject "it" in the safety documentation of `core::ptr::split_at_mut` for raw slice pointers, as it does not refer to anything.
Reported-by: Johnathan Van Why <jrvanwhy@betterbytes.org>
rust-borsBot pushed a commit that referenced this pull request Jan 13, 2026
Rollup of 12 pull requests
Successful merges:
- #145343 (Dogfood `-Zno-embed-metadata` in the standard library)
- #150151 (Destabilise `target-spec-json`)
- #150723 (std: move `errno` and related functions into `sys::io`)
- #150826 (Add `f16` inline ASM support for s390x)
- #150934 (Move some checks from `check_doc_attrs` directly into `rustc_attr_parsing`)
- #150943 (Port `#[must_not_suspend]` to attribute parser)
- #150990 (std: sys: net: uefi: Make TcpStream Send)
- #150995 (core: ptr: split_at_mut: fix typo in safety doc)
- #150998 (Relax test expectation for @__llvm_profile_runtime_user)
- #151002 (Remove a workaround for a bug (take 2))
- #151005 (Fix typo in `MaybeUninit` docs)
- #151011 (Update books)
r? @ghost
rust-borsBot pushed a commit that referenced this pull request Jan 13, 2026
…uwer
Rollup of 14 pull requests
Successful merges:
- #150151 (Destabilise `target-spec-json`)
- #150826 (Add `f16` inline ASM support for s390x)
- #150883 (Improve span for "unresolved intra doc link" on `deprecated` attribute)
- #150934 (Move some checks from `check_doc_attrs` directly into `rustc_attr_parsing`)
- #150943 (Port `#[must_not_suspend]` to attribute parser)
- #150990 (std: sys: net: uefi: Make TcpStream Send)
- #150995 (core: ptr: split_at_mut: fix typo in safety doc)
- #150998 (Relax test expectation for @__llvm_profile_runtime_user)
- #151002 (Remove a workaround for a bug (take 2))
- #151005 (Fix typo in `MaybeUninit` docs)
- #151011 (Update books)
- #151029 (rustc-dev-guide subtree update)
- #151032 (fix: added missing backtick in triagebot.toml)
- #151035 (Don't suggest replacing closure parameter with type name)
r? @ghost
@rust-bors
rust-borsBot merged commit 66bd4c4 into rust-lang:mainJan 13, 2026
11 checks passed
@rustbotrustbot added this to the 1.94.0 milestone Jan 13, 2026
rust-timer added a commit that referenced this pull request Jan 13, 2026
Rollup merge of #150995 - dev/core-ptr-split-at-mut-docs-fix, r=joboet
core: ptr: split_at_mut: fix typo in safety doc
Removes the double subject "it" in the safety documentation of `core::ptr::split_at_mut` for raw slice pointers, as it does not refer to anything.
Reported-by: Johnathan Van Why <jrvanwhy@betterbytes.org>
github-actionsBot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Jan 20, 2026
…uwer
Rollup of 14 pull requests
Successful merges:
- rust-lang/rust#150151 (Destabilise `target-spec-json`)
- rust-lang/rust#150826 (Add `f16` inline ASM support for s390x)
- rust-lang/rust#150883 (Improve span for "unresolved intra doc link" on `deprecated` attribute)
- rust-lang/rust#150934 (Move some checks from `check_doc_attrs` directly into `rustc_attr_parsing`)
- rust-lang/rust#150943 (Port `#[must_not_suspend]` to attribute parser)
- rust-lang/rust#150990 (std: sys: net: uefi: Make TcpStream Send)
- rust-lang/rust#150995 (core: ptr: split_at_mut: fix typo in safety doc)
- rust-lang/rust#150998 (Relax test expectation for @__llvm_profile_runtime_user)
- rust-lang/rust#151002 (Remove a workaround for a bug (take 2))
- rust-lang/rust#151005 (Fix typo in `MaybeUninit` docs)
- rust-lang/rust#151011 (Update books)
- rust-lang/rust#151029 (rustc-dev-guide subtree update)
- rust-lang/rust#151032 (fix: added missing backtick in triagebot.toml)
- rust-lang/rust#151035 (Don't suggest replacing closure parameter with type name)
r? @ghost
lschuermann added a commit to tock/tock that referenced this pull request Jan 31, 2026
sirchnik pushed a commit to sirchnik/tock that referenced this pull request May 12, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-libsRelevant 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

@lschuermann@rustbot@joboet