diff options
| author | Taiki Endo <te316e89@gmail.com> | 2019-02-24 21:59:44 +0900 |
|---|---|---|
| committer | Taiki Endo <te316e89@gmail.com> | 2019-02-24 21:59:44 +0900 |
| commit | 871910a2c6e8624d4ebaa08ce6201b661f8c25f3 (patch) | |
| tree | 2ef275486d364b995d3ceda154a176a9f5e422f5 /src/bootstrap | |
| parent | 7f19f161f24c9a02ff8c3f73122d0b015039221f (diff) | |
| download | rust-871910a2c6e8624d4ebaa08ce6201b661f8c25f3.tar.gz rust-871910a2c6e8624d4ebaa08ce6201b661f8c25f3.zip | |
Use ? in some macros
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/builder.rs | 2 |
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>()),+] }}; } |
