From e7dad1de40cf88ef9d4ddd640004416f4b3e3b14 Mon Sep 17 00:00:00 2001 From: clizia Date: Tue, 12 Nov 2024 15:02:24 +0100 Subject: [PATCH] made some fields and methods public --- src/chunk_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chunk_type.rs b/src/chunk_type.rs index 84777a5..789b6c0 100644 --- a/src/chunk_type.rs +++ b/src/chunk_type.rs @@ -38,7 +38,7 @@ impl ChunkType { bytes } - fn is_valid(&self) -> bool { + pub fn is_valid(&self) -> bool { let mut x = self.bytes().len(); loop {