]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/bare-static-string.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / bare-static-string.rs
index 6208a9c3cc3e4d7c126ac6f8f82168fb2b52ba1f..fefb303fc70feb83cf05346a952b1df3598f8f88 100644 (file)
@@ -10,5 +10,5 @@
 
 pub fn main() {
     let x: &'static str = "foo";
-    io::println(x);
+    println!("{}", x);
 }