diff --git a/fastnbt/src/input.rs b/fastnbt/src/input.rs index d8998ae..af0b340 100644 --- a/fastnbt/src/input.rs +++ b/fastnbt/src/input.rs @@ -143,8 +143,8 @@ pub trait Input<'de>: private::Sealed { } } -pub(crate) struct Slice<'de> { - pub data: &'de [u8], +pub struct Slice<'de> { + pub(crate) data: &'de [u8], } impl<'de> private::Sealed for Slice<'de> {} @@ -226,8 +226,8 @@ impl<'de> Input<'de> for Slice<'de> { } } -pub(crate) struct Reader { - pub reader: R, +pub struct Reader { + pub(crate) reader: R, } impl private::Sealed for Reader {}