Another downside of Box<T> is that Vec::into_boxed_slice copies all elements from the source vector. Vec::shrink_to_fit does not appear to copy.
This is based on the stable docs.
Edit: I submitted a PR to clear up the docs: https://github.com/rust-lang/rust/pull/120110