3 ms·
You mean like this? https://doc.rust-lang.org/std/collections/index.html https://doc.rust-lang.org/std/collections/index.html
by Elinvynia 5y ago
You mean like this?
https://doc.rust-lang.org/std/collections/index.html https://doc.rust-lang.org/std/collections/index.html
- nicoburns 5y agoI think they want something like a ‘map!()’ macro.
- lumost 5y agoSibling nailed it but I can’t reply on that post. There are variations such as Vec!, map! Macros collect_vec, collect_map etc. It would be great to have a unified interface that exposes a common set of instantiation mechanisms and apis. Other lib authors should be able to implement this api and get the same calling conventions.