about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2019-02-24 21:59:44 +0900
committerTaiki Endo <te316e89@gmail.com>2019-02-24 21:59:44 +0900
commit871910a2c6e8624d4ebaa08ce6201b661f8c25f3 (patch)
tree2ef275486d364b995d3ceda154a176a9f5e422f5 /src/bootstrap
parent7f19f161f24c9a02ff8c3f73122d0b015039221f (diff)
downloadrust-871910a2c6e8624d4ebaa08ce6201b661f8c25f3.tar.gz
rust-871910a2c6e8624d4ebaa08ce6201b661f8c25f3.zip
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>()),+]
             }};
         }