Comment Comment by bjourne STL lets you supply a custom allocator for all STL types. Afaik, Rust doesn't and this is probably the price you have to pay for that feature. parent bjourne 4 years ago