diff options
Diffstat (limited to 'test_utils/src/git.rs')
| -rw-r--r-- | test_utils/src/git.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_utils/src/git.rs b/test_utils/src/git.rs index 5942a54..ab21f38 100644 --- a/test_utils/src/git.rs +++ b/test_utils/src/git.rs | |||
| @@ -216,7 +216,7 @@ impl GitTestRepo { | |||
| 216 | Ok(oid) | 216 | Ok(oid) |
| 217 | } | 217 | } |
| 218 | 218 | ||
| 219 | pub fn create_branch(&self, branch_name: &str) -> Result<Branch> { | 219 | pub fn create_branch(&'_ self, branch_name: &str) -> Result<Branch<'_>> { |
| 220 | self.git_repo | 220 | self.git_repo |
| 221 | .branch(branch_name, &self.git_repo.head()?.peel_to_commit()?, false) | 221 | .branch(branch_name, &self.git_repo.head()?.peel_to_commit()?, false) |
| 222 | .context("could not create branch") | 222 | .context("could not create branch") |