mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-21 00:21:35 +03:00
elide lifetimes
This commit is contained in:
parent
7faefd849f
commit
6ce77c8a06
@ -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