Skip to content

Commit 42ad2d7

Browse files
authored
fix stringify docs
1 parent 942f31f commit 42ad2d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -682,15 +682,15 @@ mod builtin {
682682
#[cfg(dox)]
683683
macro_rules! file { () => ({ /* compiler built-in */ }) }
684684

685-
/// A macro which stringifies its argument.
685+
/// A macro which stringifies its arguments.
686686
///
687687
/// For more information, see the documentation for [`std::stringify!`].
688688
///
689689
/// [`std::stringify!`]: ../std/macro.stringify.html
690690
#[stable(feature = "rust1", since = "1.0.0")]
691691
#[macro_export]
692692
#[cfg(dox)]
693-
macro_rules! stringify { ($t:tt) => ({ /* compiler built-in */ }) }
693+
macro_rules! stringify { ($($t:tt)*) => ({ /* compiler built-in */ }) }
694694

695695
/// Includes a utf8-encoded file as a string.
696696
///

0 commit comments

Comments
 (0)