mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-19 07:32:22 +03:00
elide lifetimes
This commit is contained in:
parent
ddee80788b
commit
61db260ac8
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user