Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove `async_trait` from the only trait that allows it now
Kirill Bulatovce8cc50ae50d
diff --git a/crates/fs/src/repository.rs b/crates/fs/src/repository.rsindex 4637a7f7540..cf5c65105c9 100644--- a/crates/fs/src/repository.rs+++ b/crates/fs/src/repository.rs@@ -23,7 +23,6 @@ pub struct Branch {pub unix_timestamp: Option<i64>,}-#[async_trait::async_trait]pub trait GitRepository: Send {fn reload_index(&self);fn load_index_text(&self, relative_file_path: &Path) -> Option<String>;@@ -248,7 +247,6 @@ impl FakeGitRepository {}}-#[async_trait::async_trait]impl GitRepository for FakeGitRepository {fn reload_index(&self) {}diff --git a/crates/fs2/src/repository.rs b/crates/fs2/src/repository.rsindex 4637a7f7540..cf5c65105c9 100644--- a/crates/fs2/src/repository.rs+++ b/crates/fs2/src/repository.rs@@ -23,7 +23,6 @@ pub struct Branch {pub unix_timestamp: Option<i64>,}-#[async_trait::async_trait]pub trait GitRepository: Send {fn reload_index(&self);fn load_index_text(&self, relative_file_path: &Path) -> Option<String>;@@ -248,7 +247,6 @@ impl FakeGitRepository {}}-#[async_trait::async_trait]impl GitRepository for FakeGitRepository {fn reload_index(&self) {}