1
Fork 0

Remove the printf{,ln}! macros

These are deprecated in favor of print{,ln}!
This commit is contained in:
Alex Crichton 2013-09-24 18:32:56 -07:00
parent f210a16718
commit 09a5338197

View file

@ -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)*)
))