Macro rpds::rbt_set_sync
source · macro_rules! rbt_set_sync { ($($e:expr),*) => { ... }; }
Expand description
Creates a RedBlackTreeSet
containing the given arguments:
let s = RedBlackTreeSet::new_sync()
.insert(1)
.insert(2)
.insert(3);
assert_eq!(rbt_set_sync![1, 2, 3], s);