Remove `async_trait` from the only trait that allows it now

Kirill Bulatov created

Change summary

crates/fs/src/repository.rs  | 2 --
crates/fs2/src/repository.rs | 2 --
2 files changed, 4 deletions(-)

Detailed changes

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) {}
 

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) {}