Skip to content

Commit

Permalink
Expose props of tuple structs
Browse files Browse the repository at this point in the history
  • Loading branch information
vswarte committed Apr 15, 2024
1 parent 4b503eb commit 050a62e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/formats/src/entryfilelist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl<R: Read> SectionIter<Unk1, R> {

#[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<Self>
Expand All @@ -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<Self>
Expand Down

0 comments on commit 050a62e

Please sign in to comment.