Skip to content

Commit a49eb19

Browse files
committed
fix unread-fields warnings on latest nightly (#1330)
It's interesting to note that one of these warnings constitute reading the fields, but these come about by displaying a debug version of these fields, which now doesn't qualify anymore.
1 parent 944c1c4 commit a49eb19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gix-index/src/extension/fs_monitor.rs

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::{
66
};
77

88
#[derive(Clone)]
9+
#[allow(dead_code)]
910
pub enum Token {
1011
V1 { nanos_since_1970: u64 },
1112
V2 { token: BString },

0 commit comments

Comments
 (0)