From 5daa4f6875d39d59e384ab8fd1622f4f31c60021 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 1 Sep 2016 14:17:42 -0700 Subject: [PATCH] Explicitly bind Some(false) --- src/cargo/util/toml.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/util/toml.rs b/src/cargo/util/toml.rs index 15e524631..ac94d3a28 100644 --- a/src/cargo/util/toml.rs +++ b/src/cargo/util/toml.rs @@ -1063,7 +1063,7 @@ fn normalize(lib: &Option, .set_for_host(match (toml.plugin, toml.rustc_macro) { (None, None) => t2.for_host(), (Some(true), _) | (_, Some(true)) => true, - _ => false, + (Some(false), _) | (_, Some(false)) => false, }); } -- 2.39.5