And how could I figure out this myself ?
Sincerly yours,
Demeter, fighting the borrow checker.
And how could I figure out this myself ?
Sincerly yours,
Demeter, fighting the borrow checker.
No. The only things that allocate are in alloc - Rust and https://doc.rust-lang.org/stable/collections/index.html . The types in those crates are re-exported in std in their well-known locations.
Choosing your Guarantees has some of this info on the builtin types as well.