Fix macro hopefully
/// ```
#[macro_export]
macro_rules! staticvec {
+ ($val:expr) => {
+ $crate::StaticVec::from($val)
+ };
($val:expr; $n:expr) => {
$crate::StaticVec::new_from_const_array([$val; $n])
};
($($val:expr),* $(,)*) => {
$crate::StaticVec::new_from_const_array([$($val),*])
};
- ($val:expr) => {
- $crate::StaticVec::new_from_const_array($val)
- };
}
/// Accepts an array of any primitive [`Copy`](core::marker::Copy) type that has a
