Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

fixup! fixup! removed copilot from generated schema and command palette

Mikayla Makia1abe8d33c10
diff --git a/crates/staff_mode/src/staff_mode.rs b/crates/staff_mode/src/staff_mode.rs
index 4d35a257ed6..3dbd6c2500d 100644
--- a/crates/staff_mode/src/staff_mode.rs
+++ b/crates/staff_mode/src/staff_mode.rs
@@ -31,6 +31,7 @@ pub fn staff_mode<F: FnMut(&mut MutableAppContext) + 'static>(
}
/// Immediately checks and runs the init function if the staff mode is not enabled.
+/// This is only included for symettry with staff_mode() above
pub fn not_staff_mode<F: FnOnce(&mut MutableAppContext) + 'static>(
cx: &mut MutableAppContext,
init: F,