Macro meta_tools::bset
source · macro_rules! bset { ( $($key:expr),* $(,)? ) => { ... }; }
Expand description
Literally just a BTreeSet literal with values into’d.
let s: BTreeSet<String> = bset!{ "value" };
assert_eq!(s.get("value"), Some(&"value".to_string()))