Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Apr 27, 2023
1 parent 234aee0 commit 2fac600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitoxide-core/src/repository/index/entries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ pub enum Attributes {

pub(crate) mod function {
use crate::repository::index::entries::{Attributes, Options};
use gix::bstr::ByteSlice;
use gix::odb::FindExt;
use std::borrow::Cow;
use std::io::{BufWriter, Write};
Expand Down Expand Up @@ -133,7 +132,8 @@ pub(crate) mod function {
attrs: Option<Attrs>,
is_last: bool,
) -> anyhow::Result<()> {
#[cfg_attr(feature = "serde", derive(serde::Serialize))]
use gix::bstr::ByteSlice;
#[derive(serde::Serialize)]
struct Entry<'a> {
stat: &'a gix::index::entry::Stat,
hex_id: String,
Expand Down

0 comments on commit 2fac600

Please sign in to comment.