From 6e8e6b7b9ba645304e141a9c7f07ab01f89e3f2d Mon Sep 17 00:00:00 2001 From: Kiril Videlov Date: Tue, 2 Jul 2024 15:11:28 +0200 Subject: [PATCH] remote unneccesary borrow --- crates/gitbutler-core/tests/suite/virtual_branches/oplog.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gitbutler-core/tests/suite/virtual_branches/oplog.rs b/crates/gitbutler-core/tests/suite/virtual_branches/oplog.rs index e2dc9b0bb..6edb3c904 100644 --- a/crates/gitbutler-core/tests/suite/virtual_branches/oplog.rs +++ b/crates/gitbutler-core/tests/suite/virtual_branches/oplog.rs @@ -25,7 +25,7 @@ async fn workdir_vbranch_restore() -> anyhow::Result<()> { let line_count = round * 20; fs::write( worktree_dir.join(format!("file{round}.txt")), - &make_lines(line_count), + make_lines(line_count), )?; let branch_id = controller .create_virtual_branch(