elide lifetimes

This commit is contained in:
Josh Junon 2024-03-14 11:54:09 +01:00
parent 7faefd849f
commit 6ce77c8a06

View File

@ -386,7 +386,7 @@ impl Repository {
}
}
pub fn checkout_index_path<'a, P: AsRef<Path>>(&'a self, path: P) -> Result<()> {
pub fn checkout_index_path<P: AsRef<Path>>(&self, path: P) -> Result<()> {
let mut builder = git2::build::CheckoutBuilder::new();
builder.path(path.as_ref());
builder.force();