diff options
| author | Birunthan Mohanathas <birunthan@mohanathas.com> | 2013-07-22 19:03:39 +0300 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-07-24 09:45:20 -0400 |
| commit | d047cf1ec612f766365bde0c9d146b58ef3cc7c7 (patch) | |
| tree | 1e78f76ac07c358321b3d32d2d943a47a8c1dc32 /src/libsyntax/parse | |
| parent | af5a17b7d0788438bb6b39cccfc96a0b13e00250 (diff) | |
| download | rust-d047cf1ec612f766365bde0c9d146b58ef3cc7c7.tar.gz rust-d047cf1ec612f766365bde0c9d146b58ef3cc7c7.zip | |
Change 'print(fmt!(...))' to printf!/printfln! in src/lib*
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 2d15d0ab7e8..52b6d4459bf 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -686,7 +686,7 @@ mod test { use std::io; #[test] fn t1() { let a = fresh_name("ghi"); - io::println(fmt!("interned name: %u,\ntextual name: %s\n", - a,interner_get(a))); + printfln!("interned name: %u,\ntextual name: %s\n", + a, interner_get(a)); } } |
