macro_rules! nes {
    ($h:expr, $( $x:expr ),*) => { ... };
    ($h:expr) => { ... };
}
Expand description

Like the crate::nev! macro, but for Sets. A nice short-hand for constructing NESet values.

use nonempty_collections::nes;

let s = nes![1, 2, 2, 3];
assert_eq!(3, s.len().get());