From 0b9ccddfe4608cbe60c3b3bdcfcb9400fbf7faa8 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Thu, 25 Jul 2024 14:51:23 +0200 Subject: [PATCH] Fix 1.80 lints --- tests/git.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/git.rs b/tests/git.rs index 0a5fe0e..be3c5c9 100644 --- a/tests/git.rs +++ b/tests/git.rs @@ -147,7 +147,7 @@ impl TreeUpdateBuilder { /// /// 1. Using the crates.io git registry. It's massive and slow. /// 2. Using some other external git registry, could fail for any number of -/// network etc related issues +/// network etc related issues /// 3. Needing to maintain a blessed remote of any kind struct FakeRemote { repo: gix::Repository, @@ -166,7 +166,7 @@ impl FakeRemote { // Create an empty initial commit so we always have _something_ let parent = { let empty_tree_id = repo - .write_object(&gix::objs::Tree::empty()) + .write_object(gix::objs::Tree::empty()) .unwrap() .detach(); @@ -481,7 +481,7 @@ fn non_main_local_branch() { let commit = { let snap = FakeRemote::snapshot(&mut repo); let empty_tree_id = snap - .write_object(&gix::objs::Tree::empty()) + .write_object(gix::objs::Tree::empty()) .unwrap() .detach();