From 47f91a9484eceef10536d4caac6ef578cd254567 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 17 Feb 2015 19:49:22 -0800 Subject: Register new snapshots --- src/libstd/macros.rs | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/libstd/macros.rs') diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index 1b9b13d4bd4..00bb7f86b17 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -60,23 +60,6 @@ macro_rules! panic { }); } -/// Use the syntax described in `std::fmt` to create a value of type `String`. -/// See `std::fmt` for more information. -/// -/// # Example -/// -/// ``` -/// format!("test"); -/// format!("hello {}", "world!"); -/// format!("x = {}, y = {y}", 10, y = 30); -/// ``` -#[cfg(stage0)] // NOTE: remove after snapshot -#[macro_export] -#[stable(feature = "rust1", since = "1.0.0")] -macro_rules! format { - ($($arg:tt)*) => ($crate::fmt::format(format_args!($($arg)*))) -} - /// Equivalent to the `println!` macro except that a newline is not printed at /// the end of the message. #[macro_export] -- cgit 1.4.1-3-g733a5