]> git.lizzy.rs Git - rust.git/blobdiff - src/test/pretty/vec-comments.rs
test: Make manual changes to deal with the fallout from removal of
[rust.git] / src / test / pretty / vec-comments.rs
index d685ad49a27defc73173d531ea6e6b3496ed55aa..dc2dae1044dac2354ef981979bce687c4384e4cd 100644 (file)
 // pp-exact:vec-comments.pp
 fn main() {
     let _v1 =
-        vec!(
-          // Comment
-          0,
-          // Comment
-          1,
-          // Comment
-          2);
+        [
+         // Comment
+         0,
+         // Comment
+         1,
+         // Comment
+         2];
     let _v2 =
-        vec!(0, // Comment
-          1, // Comment
-          2); // Comment
+        [0, // Comment
+         1, // Comment
+         2]; // Comment
     let _v3 =
-        vec!(
-          /* Comment */
-          0,
-          /* Comment */
-          1,
-          /* Comment */
-          2);
+        [
+         /* Comment */
+         0,
+         /* Comment */
+         1,
+         /* Comment */
+         2];
     let _v4 =
-        vec!(0, /* Comment */
-          1, /* Comment */
-          2); /* Comment */
+        [0, /* Comment */
+         1, /* Comment */
+         2]; /* Comment */
 }