Skip to content

Commit

Permalink
update concat_idents doc stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
ExpHP committed May 3, 2018
1 parent fbc57a7 commit 8e38d02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/libcore/macros.rs
Expand Up @@ -606,8 +606,8 @@ mod builtin {
#[macro_export]
#[cfg(dox)]
macro_rules! concat_idents {
($($e:ident),*) => ({ /* compiler built-in */ });
($($e:ident,)*) => ({ /* compiler built-in */ });
($($e:ident),+) => ({ /* compiler built-in */ });
($($e:ident,)+) => ({ /* compiler built-in */ });
}

/// Concatenates literals into a static string slice.
Expand Down
4 changes: 2 additions & 2 deletions src/libstd/macros.rs
Expand Up @@ -450,8 +450,8 @@ pub mod builtin {
#[unstable(feature = "concat_idents_macro", issue = "29599")]
#[macro_export]
macro_rules! concat_idents {
($($e:ident),*) => ({ /* compiler built-in */ });
($($e:ident,)*) => ({ /* compiler built-in */ });
($($e:ident),+) => ({ /* compiler built-in */ });
($($e:ident,)+) => ({ /* compiler built-in */ });
}

/// Concatenates literals into a static string slice.
Expand Down

0 comments on commit 8e38d02

Please sign in to comment.