Skip to content

Use Vec::push_mut when adding a chunk to arenas#155161

Open
saethlin wants to merge 1 commit intorust-lang:mainfrom
saethlin:push_mut_saves
Open

Use Vec::push_mut when adding a chunk to arenas#155161
saethlin wants to merge 1 commit intorust-lang:mainfrom
saethlin:push_mut_saves

Conversation

@saethlin
Copy link
Copy Markdown
Member

This fixes #155148, which may or may not be worth fixing on its own merits, but I think Vec::push_mut also makes the code nicer.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 11, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 11, 2026

r? @nnethercote

rustbot has assigned @nnethercote.
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: arena, compiler
  • arena, compiler expanded to 69 candidates
  • Random selection from 11 candidates

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

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-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

4 participants