about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-25 03:18:04 +0100
committerGitHub <noreply@github.com>2019-02-25 03:18:04 +0100
commitb5cf4ea07fd1a4e5541f47aa6d0b3f0bc709540c (patch)
treebb2acc3f19824f98a69530c59e526925ff10b04d /src/bootstrap
parented73ec0e4cf1dbe11685f1311683d6fd31b7196f (diff)
parent871910a2c6e8624d4ebaa08ce6201b661f8c25f3 (diff)
downloadrust-b5cf4ea07fd1a4e5541f47aa6d0b3f0bc709540c.tar.gz
rust-b5cf4ea07fd1a4e5541f47aa6d0b3f0bc709540c.zip
Rollup merge of #58697 - taiki-e:question-in-macros, r=Centril
Use ? in some macros
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index 9d037dad9cc..c94d6cb4c1f 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -326,7 +326,7 @@ pub enum Kind {
 impl<'a> Builder<'a> {
     fn get_step_descriptions(kind: Kind) -> Vec<StepDescription> {
         macro_rules! describe {
-            ($($rule:ty),+ $(,)*) => {{
+            ($($rule:ty),+ $(,)?) => {{
                 vec![$(StepDescription::from::<$rule>()),+]
             }};
         }