Skip to content

Commit

Permalink
Auto merge of #122976 - caibear:optimize_reserve_for_push, r=cuviper
Browse files Browse the repository at this point in the history
Remove len argument from RawVec::reserve_for_push

Removes `RawVec::reserve_for_push`'s `len` argument since it's always the same as capacity.
Also makes `Vec::insert` use `RawVec::reserve_for_push`.
  • Loading branch information
bors committed Mar 30, 2024
2 parents a168bd1 + b901ffb commit 078ac04
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 078ac04

Please sign in to comment.