Skip to content

Commit 09a5338

Browse files
committed
Remove the printf{,ln}! macros
These are deprecated in favor of print{,ln}!
1 parent f210a16 commit 09a5338

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/libsyntax/ext/expand.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,26 +1006,6 @@ pub fn std_macros() -> @str {
10061006
}
10071007
)
10081008

1009-
// NOTE(acrichto): start removing this after the next snapshot
1010-
macro_rules! printf (
1011-
($arg:expr) => (
1012-
print(fmt!(\"%?\", $arg))
1013-
);
1014-
($( $arg:expr ),+) => (
1015-
print(fmt!($($arg),+))
1016-
)
1017-
)
1018-
1019-
// NOTE(acrichto): start removing this after the next snapshot
1020-
macro_rules! printfln (
1021-
($arg:expr) => (
1022-
println(fmt!(\"%?\", $arg))
1023-
);
1024-
($( $arg:expr ),+) => (
1025-
println(fmt!($($arg),+))
1026-
)
1027-
)
1028-
10291009
macro_rules! format(($($arg:tt)*) => (
10301010
format_args!(::std::fmt::format, $($arg)*)
10311011
))

0 commit comments

Comments
 (0)