We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42ad2d7 commit 365eafbCopy full SHA for 365eafb
src/libstd/macros.rs
@@ -490,7 +490,7 @@ pub mod builtin {
490
#[macro_export]
491
macro_rules! file { () => ({ /* compiler built-in */ }) }
492
493
- /// A macro which stringifies its argument.
+ /// A macro which stringifies its arguments.
494
///
495
/// This macro will yield an expression of type `&'static str` which is the
496
/// stringification of all the tokens passed to the macro. No restrictions
@@ -507,7 +507,7 @@ pub mod builtin {
507
/// ```
508
#[stable(feature = "rust1", since = "1.0.0")]
509
510
- macro_rules! stringify { ($t:tt) => ({ /* compiler built-in */ }) }
+ macro_rules! stringify { ($($t:tt)*) => ({ /* compiler built-in */ }) }
511
512
/// Includes a utf8-encoded file as a string.
513
0 commit comments