std::String doesn't have an Allocator

โš“ Rust    ๐Ÿ“… 2026-03-26    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 3      

surdeus

I just noticed String ( unlike Vec, HashMap, BTreeMap etc ) doesnโ€™t have an Allocator (yet).

Do you know if there any particular reason for this?

2 posts - 2 participants

Read full topic

๐Ÿท๏ธ Rust_feed