Skip to content

Commit

Permalink
WIP: un-inline(never) finish_grow
Browse files Browse the repository at this point in the history
This lets it get codegen'd downstream.
  • Loading branch information
Mark-Simulacrum committed Jun 9, 2024
1 parent 48ca45a commit 74af8ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/alloc/src/raw_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ impl<T, A: Allocator> RawVec<T, A> {
// above `RawVec::grow_amortized` for details. (The `A` parameter isn't
// significant, because the number of different `A` types seen in practice is
// much smaller than the number of `T` types.)
#[inline(never)]
fn finish_grow<A>(
new_layout: Result<Layout, LayoutError>,
current_memory: Option<(NonNull<u8>, Layout)>,
Expand Down

0 comments on commit 74af8ba

Please sign in to comment.