Skip to content

Commit

Permalink
Fix 1.80 lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Jul 25, 2024
1 parent 5c17d30 commit 0b9ccdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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();

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

Expand Down

0 comments on commit 0b9ccdd

Please sign in to comment.