You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the correct function to reserve space for layers
Layer::grow relies on reserving exactly as many bytes as specified in
the argument. And it apparently has worked as long as the argument was a
power of 2, which it was.
This has changed for small vectors since:
rust-lang/rust#72227
The fix is to use `reserve_exact` instead.
0 commit comments