fix doc comment for deserializing function
This commit is contained in:
parent
47b66f55ce
commit
1cf9a0eb56
|
|
@ -14,7 +14,7 @@ pub mod read;
|
|||
/// A Deserializer that reads bytes from a buffer.
|
||||
///
|
||||
/// This struct should rarely be used.
|
||||
/// In most cases, prefer the `decode_from` function.
|
||||
/// In most cases, prefer the `deserialize_from` function.
|
||||
///
|
||||
/// The ByteOrder that is chosen will impact the endianness that
|
||||
/// is used to read integers out of the reader.
|
||||
|
|
|
|||
Loading…
Reference in New Issue