1
Fork 0

Revert "renamed read_nil to read_unit"

This reverts commit 37d0600c23.
This commit is contained in:
kenta7777 2018-09-11 22:20:09 +09:00
parent 10b2083a6d
commit fa683ac656
4 changed files with 5 additions and 5 deletions

View file

@ -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)
}