diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-05-09 18:45:36 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-05-12 11:28:57 -0700 |
| commit | 6559a3675e021c9e8a416fc0d9ef416ddfda2f13 (patch) | |
| tree | 9c4b58b67b27dfc286e56e2bd2f67bf38d599ead /src/libstd/macros.rs | |
| parent | e8053b9a7ff91b6a69238c1d7dea99be34bb7a3b (diff) | |
| download | rust-6559a3675e021c9e8a416fc0d9ef416ddfda2f13.tar.gz rust-6559a3675e021c9e8a416fc0d9ef416ddfda2f13.zip | |
librustc: Remove all uses of `~str` from librustc.
Diffstat (limited to 'src/libstd/macros.rs')
| -rw-r--r-- | src/libstd/macros.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index 1efe56756ed..3a0e78b39d1 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -229,6 +229,14 @@ macro_rules! format( ) ) +/// Temporary transitionary thing. +#[macro_export] +macro_rules! format_strbuf( + ($($arg:tt)*) => ( + format_args!(::std::fmt::format_strbuf, $($arg)*) + ) +) + /// Use the `format!` syntax to write data into a buffer of type `&mut Writer`. /// See `std::fmt` for more information. /// |
