about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAlex Burka <durka42+github@gmail.com>2017-10-22 13:17:23 -0400
committerGitHub <noreply@github.com>2017-10-22 13:17:23 -0400
commit365eafbc7f78dc8bac70d7f07950c44b0b62abd7 (patch)
tree86d78284fc22d5d2e8fd41988c5e737405be3d39 /src/libstd
parent42ad2d7c31f54a479b39ee6931b515da21098e7d (diff)
downloadrust-365eafbc7f78dc8bac70d7f07950c44b0b62abd7.tar.gz
rust-365eafbc7f78dc8bac70d7f07950c44b0b62abd7.zip
fix stringify docs in std
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/macros.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs
index 8089671f309..6318e2e4087 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -490,7 +490,7 @@ pub mod builtin {
     #[macro_export]
     macro_rules! file { () => ({ /* compiler built-in */ }) }
 
-    /// A macro which stringifies its argument.
+    /// A macro which stringifies its arguments.
     ///
     /// This macro will yield an expression of type `&'static str` which is the
     /// stringification of all the tokens passed to the macro. No restrictions
@@ -507,7 +507,7 @@ pub mod builtin {
     /// ```
     #[stable(feature = "rust1", since = "1.0.0")]
     #[macro_export]
-    macro_rules! stringify { ($t:tt) => ({ /* compiler built-in */ }) }
+    macro_rules! stringify { ($($t:tt)*) => ({ /* compiler built-in */ }) }
 
     /// Includes a utf8-encoded file as a string.
     ///