]> 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 9b2855d269d73f045bfb16187d50b53ef56f49c0..fefb303fc70feb83cf05346a952b1df3598f8f88 100644 (file)
@@ -10,5 +10,5 @@
 
 pub fn main() {
     let x: &'static str = "foo";
-    println(x);
+    println!("{}", x);
 }