some comment fixes

This commit is contained in:
Ty Overby 2018-02-13 16:24:57 -08:00
parent 5081ac7c08
commit 72f002cc0a
1 changed files with 7 additions and 3 deletions

View File

@ -64,8 +64,10 @@ pub trait SerializerAcceptor {
/// Get a default configuration object. /// Get a default configuration object.
/// ///
/// ### Default Configuration: /// ### Default Configuration:
/// Byte limit: Unlimited ///
/// Endianness: Little /// | Byte limit | Endianness |
/// |------------|------------|
/// | Unlimited | Little |
pub fn config() -> Config { pub fn config() -> Config {
Config::new() Config::new()
} }
@ -114,7 +116,9 @@ where
config().deserialize_from_custom(reader) config().deserialize_from_custom(reader)
} }
/// TODO: document /// Only use this if you know what you're doing.
///
/// This is part of the public API.
#[doc(hidden)] #[doc(hidden)]
pub fn deserialize_in_place<'a, R, T>(reader: R, place: &mut T) -> Result<()> pub fn deserialize_in_place<'a, R, T>(reader: R, place: &mut T) -> Result<()>
where where