Accept clippy suggestions

This commit is contained in:
2022-05-10 18:25:45 +02:00
parent 1cf4e85014
commit e940ab69fb
3 changed files with 4 additions and 4 deletions

View File

@@ -674,7 +674,7 @@ impl Repo {
pub fn find_worktree(&self, name: &str) -> Result<(), String> {
self.0
.find_worktree(&name)
.find_worktree(name)
.map_err(convert_libgit2_error)?;
Ok(())
}