mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 20:27:57 +00:00
Follow rust std: fmt::Show was renamed to fmt::Debug
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ impl<'a, 'b> Writer for WriterFormatter<'a, 'b> {
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Show for Value {
|
||||
impl fmt::Debug for Value {
|
||||
/// Serializes a json value into a string
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let wr = WriterFormatter { inner: f };
|
||||
|
||||
Reference in New Issue
Block a user