about summary refs log tree commit diff
path: root/src/test/run-pass/tuple-struct-matching.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-09-24 22:16:43 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-09-26 17:05:59 -0700
commit409182de6d74889134209e7fc98174eb8f267170 (patch)
tree8f8c542b198cdb323038aa803ff6bff7433bd3bb /src/test/run-pass/tuple-struct-matching.rs
parent09a53381974bcf42c0b081cbfcd9f20f1e5d4f04 (diff)
downloadrust-409182de6d74889134209e7fc98174eb8f267170.tar.gz
rust-409182de6d74889134209e7fc98174eb8f267170.zip
Update the compiler to not use printf/printfln
Diffstat (limited to 'src/test/run-pass/tuple-struct-matching.rs')
-rw-r--r--src/test/run-pass/tuple-struct-matching.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/tuple-struct-matching.rs b/src/test/run-pass/tuple-struct-matching.rs
index 36467189bbd..f50b0405953 100644
--- a/src/test/run-pass/tuple-struct-matching.rs
+++ b/src/test/run-pass/tuple-struct-matching.rs
@@ -16,7 +16,7 @@ pub fn main() {
         Foo(a, b) => {
             assert_eq!(a, 1);
             assert_eq!(b, 2);
-            printfln!("%d %d", a, b);
+            println!("{} {}", a, b);
         }
     }
 }