diff options
| author | Birunthan Mohanathas <birunthan@mohanathas.com> | 2013-07-22 19:04:51 +0300 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-07-24 09:45:20 -0400 |
| commit | 206ae5752e05f3d22fdfb3f86d261a24e6dc2286 (patch) | |
| tree | fd5a1eb2a7cf1a89c985d5d3fe9fbf2c4f40a5cb /src/test/run-pass/const-struct.rs | |
| parent | d047cf1ec612f766365bde0c9d146b58ef3cc7c7 (diff) | |
| download | rust-206ae5752e05f3d22fdfb3f86d261a24e6dc2286.tar.gz rust-206ae5752e05f3d22fdfb3f86d261a24e6dc2286.zip | |
Change 'print(fmt!(...))' to printf!/printfln! in src/test/
Diffstat (limited to 'src/test/run-pass/const-struct.rs')
| -rw-r--r-- | src/test/run-pass/const-struct.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/const-struct.rs b/src/test/run-pass/const-struct.rs index 8a93a3e4c1c..c62fcd8980f 100644 --- a/src/test/run-pass/const-struct.rs +++ b/src/test/run-pass/const-struct.rs @@ -30,6 +30,6 @@ pub fn main() { assert_eq!(x.b, 2); assert_eq!(x, y); assert_eq!(z.b, 22); - io::println(fmt!("0x%x", x.b as uint)); - io::println(fmt!("0x%x", z.c as uint)); + printfln!("0x%x", x.b as uint); + printfln!("0x%x", z.c as uint); } |
