Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
feature_flags: Do not enable feature flags by default in dev builds (#27065)
Piotr Osiewicz9377ef98179b
diff --git a/crates/feature_flags/src/feature_flags.rs b/crates/feature_flags/src/feature_flags.rsindex 3434474a063..9f716ba72cf 100644--- a/crates/feature_flags/src/feature_flags.rs+++ b/crates/feature_flags/src/feature_flags.rs@@ -207,7 +207,7 @@ impl FeatureFlagAppExt for App {fn has_flag<T: FeatureFlag>(&self) -> bool {self.try_global::<FeatureFlags>().map(|flags| flags.has_flag::<T>())- .unwrap_or_else(|| T::enabled_in_development())+ .unwrap_or(false)}fn is_staff(&self) -> bool {