diff --git a/gitbutler-app/src/git/repository.rs b/gitbutler-app/src/git/repository.rs index 0ba3fde4a..f567c7158 100644 --- a/gitbutler-app/src/git/repository.rs +++ b/gitbutler-app/src/git/repository.rs @@ -386,7 +386,7 @@ impl Repository { } } - pub fn checkout_index_path<'a, P: AsRef>(&'a self, path: P) -> Result<()> { + pub fn checkout_index_path>(&self, path: P) -> Result<()> { let mut builder = git2::build::CheckoutBuilder::new(); builder.path(path.as_ref()); builder.force();