macro_rules! set { {$($v: expr),* $(,)?} => { ... }; }
Macro for creating a set.
Equivalent to the vec! macro for vectors. Set this crate’s documentation for more examples on how to use this macro.
Example:
use map_macro::set; let x = set! { 1, 2, 3, 3, 4 }; assert_eq!(x.len(), 4);