Macro rpds::ht_set

source ·
macro_rules! ht_set {
    ($($e:expr),*) => { ... };
}
Expand description

Creates a HashTrieSet containing the given arguments:

let s = HashTrieSet::new()
    .insert(1)
    .insert(2)
    .insert(3);

assert_eq!(ht_set![1, 2, 3], s);