From d091a357bed9003a3385d8e3b0481111d8d4cd64 Mon Sep 17 00:00:00 2001 From: Josh Junon Date: Thu, 18 Apr 2024 15:43:58 +0200 Subject: [PATCH] fix cargo warnings --- crates/gitbutler-core/tests/suite/projects.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gitbutler-core/tests/suite/projects.rs b/crates/gitbutler-core/tests/suite/projects.rs index 0852d7d0f..c3ba09404 100644 --- a/crates/gitbutler-core/tests/suite/projects.rs +++ b/crates/gitbutler-core/tests/suite/projects.rs @@ -75,7 +75,7 @@ mod add { let main_worktree_dir = tmp.path().join("main"); let worktree_dir = tmp.path().join("worktree"); - let repo = git2::Repository::init(&main_worktree_dir).unwrap(); + let repo = git2::Repository::init(main_worktree_dir).unwrap(); create_initial_commit(&repo); let worktree = repo.worktree("feature", &worktree_dir, None).unwrap();