Make clippy happy

This commit is contained in:
2022-12-12 14:46:08 +01:00
parent 5fc1d2148f
commit 6e79dd318a
4 changed files with 7 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ pub fn get_worktree_status_table(
add_worktree_table_header(&mut table);
for worktree in &worktrees {
let worktree_dir = &directory.join(&worktree.name());
let worktree_dir = &directory.join(worktree.name());
if worktree_dir.exists() {
let repo = match repo::RepoHandle::open(worktree_dir, false) {
Ok(repo) => repo,