diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-24 18:32:56 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-26 17:03:31 -0700 |
| commit | 09a53381974bcf42c0b081cbfcd9f20f1e5d4f04 (patch) | |
| tree | 8a79e1f154d51e69ecdee3a9d4a8631f1b873f6e | |
| parent | f210a1671883d5fe97a2b06ebbe9270fa9a6943a (diff) | |
| download | rust-09a53381974bcf42c0b081cbfcd9f20f1e5d4f04.tar.gz rust-09a53381974bcf42c0b081cbfcd9f20f1e5d4f04.zip | |
Remove the printf{,ln}! macros
These are deprecated in favor of print{,ln}!
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 61c9ea7be14..1590c72eec5 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1006,26 +1006,6 @@ pub fn std_macros() -> @str { } ) - // NOTE(acrichto): start removing this after the next snapshot - macro_rules! printf ( - ($arg:expr) => ( - print(fmt!(\"%?\", $arg)) - ); - ($( $arg:expr ),+) => ( - print(fmt!($($arg),+)) - ) - ) - - // NOTE(acrichto): start removing this after the next snapshot - macro_rules! printfln ( - ($arg:expr) => ( - println(fmt!(\"%?\", $arg)) - ); - ($( $arg:expr ),+) => ( - println(fmt!($($arg),+)) - ) - ) - macro_rules! format(($($arg:tt)*) => ( format_args!(::std::fmt::format, $($arg)*) )) |
