From 871910a2c6e8624d4ebaa08ce6201b661f8c25f3 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 24 Feb 2019 21:59:44 +0900 Subject: Use ? in some macros --- src/bootstrap/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bootstrap/builder.rs') 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 { macro_rules! describe { - ($($rule:ty),+ $(,)*) => {{ + ($($rule:ty),+ $(,)?) => {{ vec![$(StepDescription::from::<$rule>()),+] }}; } -- cgit 1.4.1-3-g733a5