Skip to content

Commit 4b8f17d

Browse files
committed
Do not implement is_human_readable
This is useless to implement in actual deserializers, because serde internal deserializers (used to implement flatten of tagged enums) does not inherit that values. The right way to change it is to use serde_test::Compact and serde_test::Readable adapters which would transform every deserializer that can come from actual deserializers
1 parent f794871 commit 4b8f17d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/de/map.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -597,11 +597,6 @@ where
597597
filter,
598598
})
599599
}
600-
601-
#[inline]
602-
fn is_human_readable(&self) -> bool {
603-
self.map.de.is_human_readable()
604-
}
605600
}
606601

607602
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -914,11 +909,6 @@ where
914909
let text = self.read_string()?;
915910
SimpleTypeDeserializer::from_text(text).deserialize_seq(visitor)
916911
}
917-
918-
#[inline]
919-
fn is_human_readable(&self) -> bool {
920-
self.map.de.is_human_readable()
921-
}
922912
}
923913

924914
////////////////////////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)