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.

Fix return type in watch_file_types()

Joseph T. Lyons7e904183bfc0
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs
index ea019a0fdd6..3f89ab3f1f2 100644
--- a/crates/zed/src/main.rs
+++ b/crates/zed/src/main.rs
@@ -717,9 +717,7 @@ async fn watch_languages(_: Arc<dyn Fs>, _: Arc<LanguageRegistry>) -> Option<()>
}
#[cfg(not(debug_assertions))]
-fn watch_file_types(fs: Arc<dyn Fs>, cx: &mut AppContext) {
- None
-}
+fn watch_file_types(fs: Arc<dyn Fs>, cx: &mut AppContext) {}
fn connect_to_cli(
server_name: &str,