Remove the printf{,ln}! macros
These are deprecated in favor of print{,ln}!
This commit is contained in:
parent
f210a16718
commit
09a5338197
1 changed files with 0 additions and 20 deletions
|
@ -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)*)
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue