Skip to content

Commit c4e033a

Browse files
committed
Appease latest rustc nightly
See rust-lang/rust#118297.
1 parent 710701c commit c4e033a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use crate::{
1616
// internally
1717
const GIT_REFNAME_MAX: usize = 1024;
1818

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

2121
/// A structure to represent a git [reference][1].
2222
///

0 commit comments

Comments
 (0)