Consider "dev" as nightly for feature (un)gating

This commit is contained in:
Christopher Durham 2018-08-23 04:28:44 -04:00 committed by GitHub
parent a15df80e96
commit 8cc4200b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
};
}