diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-06 16:16:35 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-06 21:26:48 -0800 |
| commit | a64000820f0fc32be4d7535a9a92418a434fa4ba (patch) | |
| tree | 916024d35e08f0826c20654f629ec596b5cb1f14 /src/libcore/macros.rs | |
| parent | 24ccb34266c93a21b4cd1bef473c56087689c079 (diff) | |
More test fixes
Diffstat (limited to 'src/libcore/macros.rs')
| -rw-r--r-- | src/libcore/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index 00bfe56a622..bfe88fff22f 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -182,8 +182,8 @@ macro_rules! writeln { ($dst:expr, $fmt:expr) => ( write!($dst, concat!($fmt, "\n")) ); - ($dst:expr, $fmt:expr, $($arg:expr),*) => ( - write!($dst, concat!($fmt, "\n"), $($arg,)*) + ($dst:expr, $fmt:expr, $($arg:tt)*) => ( + write!($dst, concat!($fmt, "\n"), $($arg)*) ); } |
