aboutsummaryrefslogtreecommitdiff
path: root/helix-vcs/src/git
diff options
context:
space:
mode:
Diffstat (limited to 'helix-vcs/src/git')
-rw-r--r--helix-vcs/src/git/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-vcs/src/git/test.rs b/helix-vcs/src/git/test.rs
index d6e9af08..6b1aba7f 100644
--- a/helix-vcs/src/git/test.rs
+++ b/helix-vcs/src/git/test.rs
@@ -89,7 +89,7 @@ fn directory() {
std::fs::create_dir(&dir).expect("");
let file = dir.join("file.txt");
let contents = b"foo".as_slice();
- File::create(&file).unwrap().write_all(contents).unwrap();
+ File::create(file).unwrap().write_all(contents).unwrap();
create_commit(temp_git.path(), true);