Skip to content

Commit

Permalink
Appease latest rustc nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
tamird committed Jan 7, 2024
1 parent 710701c commit c4e033a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::{
// internally
const GIT_REFNAME_MAX: usize = 1024;

struct Refdb<'repo>(&'repo Repository);
struct Refdb<'repo>(#[allow(dead_code)] &'repo Repository);

/// A structure to represent a git [reference][1].
///
Expand Down

0 comments on commit c4e033a

Please sign in to comment.