]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/unit-like-struct.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / unit-like-struct.rs
index 1b81015b029100cb1d696c1d1f32817408327c3c..849b5810c5f14da7fe015c45fc3aa1f1f1ebd1e3 100644 (file)
@@ -13,6 +13,6 @@
 pub fn main() {
     let x: Foo = Foo;
     match x {
-        Foo => { io::println("hi"); }
+        Foo => { println!("hi"); }
     }
 }