When a data value might change size, it pretty much has to be stored on the heap. For this reason, the Rust prelude includes the String and Vec types, which are smart pointers specialized for storing text and variable-length arrays, respectively.
When a data value might change size, it pretty much has to be stored on the heap. For this reason, the Rust prelude includes the String and Vec types, which are smart pointers specialized for storing text and variable-length arrays, respectively.
18.220.245.233