Skip to content

Commit 8e38d02

Browse files
committed
update concat_idents doc stubs
1 parent fbc57a7 commit 8e38d02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/libcore/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,8 @@ mod builtin {
606606
#[macro_export]
607607
#[cfg(dox)]
608608
macro_rules! concat_idents {
609-
($($e:ident),*) => ({ /* compiler built-in */ });
610-
($($e:ident,)*) => ({ /* compiler built-in */ });
609+
($($e:ident),+) => ({ /* compiler built-in */ });
610+
($($e:ident,)+) => ({ /* compiler built-in */ });
611611
}
612612

613613
/// Concatenates literals into a static string slice.

src/libstd/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,8 @@ pub mod builtin {
450450
#[unstable(feature = "concat_idents_macro", issue = "29599")]
451451
#[macro_export]
452452
macro_rules! concat_idents {
453-
($($e:ident),*) => ({ /* compiler built-in */ });
454-
($($e:ident,)*) => ({ /* compiler built-in */ });
453+
($($e:ident),+) => ({ /* compiler built-in */ });
454+
($($e:ident,)+) => ({ /* compiler built-in */ });
455455
}
456456

457457
/// Concatenates literals into a static string slice.

0 commit comments

Comments
 (0)