macro_rules! btree_set {
    {$($v: expr),* $(,)?} => { ... };
}
Expand description

Macro for creating a set based on a b-tree data structure.

Works just like the set! macro. Set this crate’s documentation for more examples on how to use this macro.

Example:

use map_macro::btree_set;

let x = btree_set! { 1, 2, 3, 3, 4 };

assert_eq!(x.len(), 4);