Skip to content

Commit

Permalink
Fix build on nightly rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed May 26, 2017
1 parent f5ecb06 commit 1e40d1e
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 1e40d1e

Please sign in to comment.