From 61db260ac8661463d253fc04deedc8b4c8695c86 Mon Sep 17 00:00:00 2001 From: Josh Junon Date: Thu, 14 Mar 2024 11:54:09 +0100 Subject: [PATCH] elide lifetimes --- gitbutler-app/src/git/repository.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();