From 430889ff09b5069860873564c84a531d664b44c7 Mon Sep 17 00:00:00 2001 From: Wesley Irvin Date: Thu, 27 Apr 2023 17:58:23 -0400 Subject: [PATCH] Permissions Fix Fixed up the public permissions for WADFile struct. It no longer needs to restrict to the super module anymore as the architecture has changed to be more accomodating. Also removed pub access from the lump_directory as this will be accessed through the implementation functions. --- src/wadfile.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wadfile.rs b/src/wadfile.rs index 9933553..466f9c0 100644 --- a/src/wadfile.rs +++ b/src/wadfile.rs @@ -7,11 +7,11 @@ use std::{ }; pub struct WADFile { - pub(super) wad_path: String, - pub(super) identifier: String, - pub(super) num_lumps: u32, - pub(super) init_offset: u32, - pub(super) lump_directory: Vec, + pub wad_path: String, + pub identifier: String, + pub num_lumps: u32, + pub init_offset: u32, + lump_directory: Vec, } impl WADFile {