# HG changeset patch # User Pierre-Yves David # Date 2024-09-12 08:08:45 # Node ID 4777378fc3bf85fbd1ff2e43b46bca85e837f85d # Parent 06549ab4281baf014e4003b2096c9df8651fb5a3 rust-inner-revlog: derive Debug for IndexHeaderFlags diff --git a/rust/hg-core/src/revlog/index.rs b/rust/hg-core/src/revlog/index.rs --- a/rust/hg-core/src/revlog/index.rs +++ b/rust/hg-core/src/revlog/index.rs @@ -26,7 +26,7 @@ pub struct IndexHeader { pub(super) header_bytes: [u8; INDEX_HEADER_SIZE], } -#[derive(Copy, Clone)] +#[derive(Copy, Clone, Debug)] pub struct IndexHeaderFlags { flags: u16, }