From e5285be84d81a66ff55c1df657645bbf09049409 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 30 Oct 2020 14:39:41 +0000 Subject: [PATCH] Circumvent rust build regression https://github.com/rust-lang/rust/issues/78549 is currently blocking build with latest nightly. Even though this issue is getting fixed, the above fix circumvents it and should make builds work again. --- src/config/config_type.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/config_type.rs b/src/config/config_type.rs index b36b78f8e6c..eb3f6616873 100644 --- a/src/config/config_type.rs +++ b/src/config/config_type.rs @@ -121,7 +121,7 @@ macro_rules! create_config { | "array_width" | "chain_width" => self.0.set_heuristics(), "license_template_path" => self.0.set_license_template(), - &_ => (), + _ => (), } } } @@ -272,7 +272,7 @@ macro_rules! create_config { | "array_width" | "chain_width" => self.set_heuristics(), "license_template_path" => self.set_license_template(), - &_ => (), + _ => (), } }