mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 23:17:56 +00:00
Hide is_human_readable constructors in serde_test
Until a good API can be found
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user