Why does vec!Vec::with_capacity(n) create 0 capacity for the sub-vectors?
Channel: Sophia Wagner
Date: 20/04/2024

Why does vec!Vec::with_capacity(n) create 0 capacity for the sub-vectors?
 Hey guys! Hopefully you found a solution that helped you!
 The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA. 
 Attention! This video does always use the same license as the source!
Thanks to all the great people for their contributions!

 (stackoverflow.com/users/862193/tim)Tim 
 (stackoverflow.com/users/7884305/chayim-friedman)Chayim Friedman 
 A special thanks goes out to the awesome (https://stackoverflow.com/questions/77136991/why-does-vecvecwith-capacityn-create-0-capacity-for-the-sub-vectors)Stackexchange community 
 
 If anything is off, please write me at sophia DO.T wagner A.T ois42.de
 I wish you all a chilled day! Stay safe :)
 
  vector rust allocation