Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

alloc::string::String (a.k.a. std::string::String) doesn't support custom allocators yet, even on nightly, but that doesn't mean you can't use them; it just means you have to use a third-party crate, like https://docs.rs/string or https://docs.rs/smol_str.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: