Skip to content

Commit

Permalink
make them public
Browse files Browse the repository at this point in the history
  • Loading branch information
JieningYu committed Aug 25, 2024
1 parent 0ea1a33 commit 9e5f6d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fastnbt/src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {}
Expand Down Expand Up @@ -226,8 +226,8 @@ impl<'de> Input<'de> for Slice<'de> {
}
}

pub(crate) struct Reader<R: Read> {
pub reader: R,
pub struct Reader<R: Read> {
pub(crate) reader: R,
}

impl<R: Read> private::Sealed for Reader<R> {}
Expand Down

0 comments on commit 9e5f6d3

Please sign in to comment.