From 050a62e199ab8ca98f5f600485683b75d3cabf48 Mon Sep 17 00:00:00 2001 From: Vincent Swarte Date: Mon, 15 Apr 2024 21:17:19 +0000 Subject: [PATCH] Expose props of tuple structs --- crates/formats/src/entryfilelist.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/formats/src/entryfilelist.rs b/crates/formats/src/entryfilelist.rs index 0c27b8e..07fb435 100644 --- a/crates/formats/src/entryfilelist.rs +++ b/crates/formats/src/entryfilelist.rs @@ -202,7 +202,7 @@ impl SectionIter { #[derive(Debug)] #[allow(unused)] -pub struct Unk2(u64); +pub struct Unk2(pub u64); impl SectionElement for Unk2 { fn read(reader: &mut impl Read) -> std::io::Result @@ -215,7 +215,7 @@ impl SectionElement for Unk2 { #[derive(Debug)] #[allow(unused)] -pub struct UnkString(String); +pub struct UnkString(pub String); impl SectionElement for UnkString { fn read(reader: &mut impl Read) -> std::io::Result