make vec![,] uncompilable

Fix regression introduced in commit #3ae2d21
This commit is contained in:
Waffle 2020-04-14 10:27:55 +03:00
parent 3ae2d21c12
commit 2c23bd4914

View file

@ -42,8 +42,8 @@ macro_rules! vec {
($elem:expr; $n:expr) => (
$crate::vec::from_elem($elem, $n)
);
($($x:expr),* $(,)?) => (
<[_]>::into_vec(box [$($x),*])
($($x:expr),+ $(,)?) => (
<[_]>::into_vec(box [$($x),+])
);
}