diff --git a/crates/fs/src/repository.rs b/crates/fs/src/repository.rs index 4637a7f754..cf5c65105c 100644 --- a/crates/fs/src/repository.rs +++ b/crates/fs/src/repository.rs @@ -23,7 +23,6 @@ pub struct Branch { pub unix_timestamp: Option, } -#[async_trait::async_trait] pub trait GitRepository: Send { fn reload_index(&self); fn load_index_text(&self, relative_file_path: &Path) -> Option; @@ -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.rs index 4637a7f754..cf5c65105c 100644 --- a/crates/fs2/src/repository.rs +++ b/crates/fs2/src/repository.rs @@ -23,7 +23,6 @@ pub struct Branch { pub unix_timestamp: Option, } -#[async_trait::async_trait] pub trait GitRepository: Send { fn reload_index(&self); fn load_index_text(&self, relative_file_path: &Path) -> Option; @@ -248,7 +247,6 @@ impl FakeGitRepository { } } -#[async_trait::async_trait] impl GitRepository for FakeGitRepository { fn reload_index(&self) {}