Hide is_human_readable constructors in serde_test

Until a good API can be found
This commit is contained in:
Markus Westerlind
2017-10-13 17:33:03 +02:00
parent 3b135431fd
commit e9b530a000
4 changed files with 16 additions and 2 deletions
+2
View File
@@ -52,6 +52,8 @@ impl<'de> Deserializer<'de> {
Deserializer::readable(tokens, true)
}
// Not public API
#[doc(hidden)]
pub fn readable(tokens: &'de [Token], is_human_readable: bool) -> Self {
Deserializer { tokens: tokens, is_human_readable: is_human_readable }
}