diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-17 21:54:11 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-17 21:54:11 -0700 |
| commit | 4a1d21ab7b8d08398649d9c6a9641acebb6bc01c (patch) | |
| tree | c83e9a016521d21e9c10a553365c0d1b68e6b005 /src/libstd | |
| parent | 639759b7f46b2ea7fd93cbfdb6fa39ab24f8774f (diff) | |
| download | rust-4a1d21ab7b8d08398649d9c6a9641acebb6bc01c.tar.gz rust-4a1d21ab7b8d08398649d9c6a9641acebb6bc01c.zip | |
Register new snapshots
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/macros.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index b260f685a34..9d1fd230f5c 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -251,19 +251,11 @@ macro_rules! format_strbuf( /// write!(&mut w, "formatted {}", "arguments"); /// ``` #[macro_export] -#[cfg(not(stage0))] macro_rules! write( ($dst:expr, $($arg:tt)*) => ({ format_args_method!($dst, write_fmt, $($arg)*) }) ) -#[cfg(stage0)] -#[macro_export] -macro_rules! write( - ($dst:expr, $($arg:tt)*) => ({ - format_args!(|args| { $dst.write_fmt(args) }, $($arg)*) - }) -) /// Equivalent to the `write!` macro, except that a newline is appended after /// the message is written. |
