vec1
macro_rules! vec1 { () => { ... }; ($first:expr $(, $item:expr)* , ) => { ... }; ($first:expr $(, $item:expr)* ) => { ... }; }
A macro similar to vec! to create a Vec1.
vec!
Vec1
If it is called with less then 1 element a compiler error is triggered (using compile_error to make sure you know what went wrong).
compile_error