]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/macros.rs
Remove recommendation about idiomatic syntax for Arc::Clone
[rust.git] / src / liballoc / macros.rs
index dd128e096f952c521c67816020ecdbddee54c012..250c419c531f8030a1045b6303d5e947a4a5d6d8 100644 (file)
@@ -42,7 +42,7 @@ macro_rules! vec {
     ($($x:expr),*) => (
         <[_]>::into_vec(box [$($x),*])
     );
-    ($($x:expr,)*) => (vec![$($x),*])
+    ($($x:expr,)*) => ($crate::vec![$($x),*])
 }
 
 // HACK(japaric): with cfg(test) the inherent `[T]::into_vec` method, which is