imbl::ordset

Macro 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])
);