Skip to content

Commit 2c23bd4

Browse files
committed
make vec![,] uncompilable
Fix regression introduced in commit #3ae2d21
1 parent 3ae2d21 commit 2c23bd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liballoc/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ macro_rules! vec {
4242
($elem:expr; $n:expr) => (
4343
$crate::vec::from_elem($elem, $n)
4444
);
45-
($($x:expr),* $(,)?) => (
46-
<[_]>::into_vec(box [$($x),*])
45+
($($x:expr),+ $(,)?) => (
46+
<[_]>::into_vec(box [$($x),+])
4747
);
4848
}
4949

0 commit comments

Comments
 (0)