switched type parameter on deserializer

This commit is contained in:
Ty Overby 2017-10-13 17:44:36 -07:00
parent 251bbe22d4
commit 47b66f55ce
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ use std::io::{Read, Write};
pub use internal::{ErrorKind, Error, Result, serialized_size, serialized_size_bounded};
/// A Deserializer that uses LittleEndian byteorder
pub type Deserializer<W, S> = internal::Deserializer<W, S, byteorder::LittleEndian>;
pub type Deserializer<R, S> = internal::Deserializer<R, S, byteorder::LittleEndian>;
/// A Serializer that uses LittleEndian byteorder
pub type Serializer<W> = internal::Serializer<W, byteorder::LittleEndian>;