Skip to content

Commit

Permalink
fix stringify docs in std
Browse files Browse the repository at this point in the history
  • Loading branch information
durka committed Oct 22, 2017
1 parent 42ad2d7 commit 365eafb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/macros.rs
Expand Up @@ -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
Expand All @@ -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.
///
Expand Down

0 comments on commit 365eafb

Please sign in to comment.