From 8cc4200b7de6794ba97ae253538e85f63a8080cf Mon Sep 17 00:00:00 2001 From: Christopher Durham Date: Thu, 23 Aug 2018 04:28:44 -0400 Subject: [PATCH] Consider "dev" as nightly for feature (un)gating --- src/config/config_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config_type.rs b/src/config/config_type.rs index 82cf0e19a8f..aea19b34375 100644 --- a/src/config/config_type.rs +++ b/src/config/config_type.rs @@ -73,7 +73,7 @@ fn doc_hint() -> String { macro_rules! is_nightly_channel { () => { option_env!("CFG_RELEASE_CHANNEL") - .map(|c| c == "nightly") + .map(|c| c == "nightly" || c == "dev") .unwrap_or(true) }; }