From bd4119f9654eda89e359234a08b1ac4fae53287c Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Tue, 6 Jan 2015 18:46:37 -0500 Subject: Minor fallout/update FOLLOW sets --- src/libcore/macros.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libcore') diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index 14e0be2cf16..fcd93ad4a02 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -186,12 +186,12 @@ macro_rules! write { #[macro_export] #[stable] macro_rules! writeln { - ($dst:expr, $fmt:expr, $($arg:tt)*) => ( - write!($dst, concat!($fmt, "\n") $($arg)*) - ); ($dst:expr, $fmt:expr) => ( write!($dst, concat!($fmt, "\n")) - ) + ); + ($dst:expr, $fmt:expr, $($arg:expr),*) => ( + write!($dst, concat!($fmt, "\n"), $($arg,)*) + ); } /// A utility macro for indicating unreachable code. -- cgit 1.4.1-3-g733a5