Skip to content

Commit

Permalink
fix: fix build on nightly rustc (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov authored and 3Hren committed May 27, 2017
1 parent f5ecb06 commit d78f3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmp-serde/src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ pub trait Read<'de>: io::Read {
fn read_slice<'a>(&'a mut self, len: usize) -> Result<Reference<'de, 'a, [u8]>, io::Error>;
}

struct SliceReader<'a> {
pub struct SliceReader<'a> {
inner: &'a [u8],
}

Expand Down

0 comments on commit d78f3ee

Please sign in to comment.