maplit icon indicating copy to clipboard operation
maplit copied to clipboard

Rust container / collection literal macros for HashMap, HashSet, BTreeMap, BTreeSet.

Results 17 maplit issues
Sort by recently updated
recently updated
newest added

Would it be possible to add a macro similar to `vec!` but for [VecDeque](https://doc.rust-lang.org/std/collections/struct.VecDeque.html) instead?

enhancement
help wanted

We'd like to make changes but the project appears unmaintained, so I created a fork at https://github.com/willtennien/maplit2 If you want to be an author who can accept PRs, let me...

In particular `#[cfg]` support would be nice.

Why not provide a macro to construct a `std::collections::BinaryHeap`?

**TL;DR** This issue suggests the crate providing a new `hashmap_ex!` macro which allows user to specify the `HashMap` type. ```rust let map = hashmap_ex!( HashMap, { "One", 1, "Two", 2,...

We will be very grateful. Little stylistic changes can have a big impact on workflows. This will help transition users from other languages, including myself, since this is the syntax...