Skip to content

Commit

Permalink
thanks clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Oct 12, 2022
1 parent 3efc6dc commit 59dfc7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitoxide-core/src/index/entries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub(crate) fn to_json(
hex_id: entry.id.to_hex().to_string(),
flags: entry.flags.bits(),
mode: entry.mode.bits(),
path: entry.path(&file).to_str_lossy(),
path: entry.path(file).to_str_lossy(),
},
)?;

Expand Down Expand Up @@ -91,6 +91,6 @@ pub(crate) fn to_human(
},
entry.mode,
entry.id,
entry.path(&file)
entry.path(file)
)
}

0 comments on commit 59dfc7e

Please sign in to comment.