Put macro back how it was
#[macro_export]
macro_rules! staticvec {
($($val:expr),* $(,)*) => {
- $crate::StaticVec::from([$($val),*])
+ $crate::StaticVec::new_from_const_array([$($val),*])
};
($val:expr; $n:expr) => {
- $crate::StaticVec::from([$val; $n])
+ $crate::StaticVec::new_from_const_array([$val; $n])
};
}
