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