parent
10b2083a6d
commit
fa683ac656
4 changed files with 5 additions and 5 deletions
|
@ -2128,7 +2128,7 @@ macro_rules! read_primitive {
|
|||
impl ::Decoder for Decoder {
|
||||
type Error = DecoderError;
|
||||
|
||||
fn read_unit(&mut self) -> DecodeResult<()> {
|
||||
fn read_nil(&mut self) -> DecodeResult<()> {
|
||||
expect!(self.pop(), Null)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue