Skip to content

Commit 1e40d1e

Browse files
committed
Fix build on nightly rustc
1 parent f5ecb06 commit 1e40d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rmp-serde/src/decode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ pub trait Read<'de>: io::Read {
511511
fn read_slice<'a>(&'a mut self, len: usize) -> Result<Reference<'de, 'a, [u8]>, io::Error>;
512512
}
513513

514-
struct SliceReader<'a> {
514+
pub struct SliceReader<'a> {
515515
inner: &'a [u8],
516516
}
517517

0 commit comments

Comments
 (0)