Consider "dev" as nightly for feature (un)gating
This commit is contained in:
parent
a15df80e96
commit
8cc4200b7d
@ -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)
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user