Tracking issue for
I can see
IMHO I would prefer shrink_to not to panic. I think it is better to return
With this change if I need code to panic, I will just
…k-Simulacrum Trying to shrink_to greater than capacity should be no-op Per the discussion in rust-lang#56431, `shrink_to` shouldn't panic if you try to make a vector shrink to a capacity greater than its current capacity.