From 8a3ec443f176218384db8c8610bbada9c43a6ea5 Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Thu, 9 Feb 2023 23:27:08 +0100 Subject: Fix new clippy lints (#5892) --- helix-vcs/src/git/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-vcs/src') 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); -- cgit v1.2.3-70-g09d2