]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/ifmt.rs
rollup merge of #20723: pnkfelix/feature-gate-box-syntax
[rust.git] / src / test / run-pass / ifmt.rs
index 861c93373901532e3e68a871b46708ede702bd25..dbc23a63bbadf36aa8f49e96765682a4c71ca36a 100644 (file)
@@ -185,7 +185,7 @@ fn test_write() {
 // can do with them just yet (to test the output)
 fn test_print() {
     print!("hi");
-    print!("{}", vec!(0u8));
+    print!("{:?}", vec!(0u8));
     println!("hello");
     println!("this is a {}", "test");
     println!("{foo}", foo="bar");