fix cargo warnings

This commit is contained in:
Josh Junon 2024-04-18 15:43:58 +02:00
parent 450b1aeee9
commit d091a357be
No known key found for this signature in database

View File

@ -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();