Skip to content

library: Polish transmute's split_at_stdlib example#158674

Open
workingjubilee wants to merge 1 commit into
rust-lang:mainfrom
workingjubilee:polish-mem-transmute
Open

library: Polish transmute's split_at_stdlib example#158674
workingjubilee wants to merge 1 commit into
rust-lang:mainfrom
workingjubilee:polish-mem-transmute

Conversation

@workingjubilee

Copy link
Copy Markdown
Member

Splitting assembling the return value over multiple let-bindings enables pedagogic discussion of each named let-binding.

The slice arg was renamed to remove any chance of visual confusion with use of core::slice functions or "slice" per se.

Closes #153350

Splitting assembling the return value over multiple let-bindings enables
pedagogic discussion of each named let-binding.

The `slice` arg was renamed to remove any chance of visual confusion
with use of `core::slice` functions or "slice" per se.
@rustbot

rustbot commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter
gets adapted for the changes, if necessary.

cc @rust-lang/miri, @RalfJung, @oli-obk, @lcnr

@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 Jul 1, 2026
@rustbot

rustbot commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

r? @jhpratt

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

3 participants