mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-27 12:17:56 +00:00
Hide is_human_readable constructors in serde_test
Until a good API can be found
This commit is contained in:
@@ -24,6 +24,8 @@ impl<'a> Serializer<'a> {
|
||||
Serializer::readable(tokens, true)
|
||||
}
|
||||
|
||||
// Not public API
|
||||
#[doc(hidden)]
|
||||
pub fn readable(tokens: &'a [Token], is_human_readable: bool) -> Self {
|
||||
Serializer { tokens: tokens, is_human_readable: is_human_readable }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user