Macro imbl::ordset::ordset

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

Construct a set from a sequence of values.

§Examples

assert_eq!(
  ordset![1, 2, 3],
  OrdSet::from(vec![1, 2, 3])
);