list!() { /* proc-macro */ }
Expand description
Create a List R object from a list of name-value pairs.
ⓘ
assert_eq!(list!(a=1, 2, 3), List::from_pairs(&[("a", 1), ("", 2), ("", 3)]));