make vec![,]
uncompilable
Fix regression introduced in commit #3ae2d21
This commit is contained in:
parent
3ae2d21c12
commit
2c23bd4914
1 changed files with 2 additions and 2 deletions
|
@ -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),+])
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue