mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-21 08:31:40 +03:00
Merge pull request #3145 from gitbutlerapp/elide-lifetimes
elide lifetimes
This commit is contained in:
commit
f6941c3cb0
@ -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