Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Commit

Permalink
Add is_human_readable -> false to Deserializer
Browse files Browse the repository at this point in the history
Fixes #57
  • Loading branch information
RReverser authored and pyfisch committed Jan 25, 2018
1 parent d4c185e commit 225c48f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,11 @@ where
}
}

#[inline]
fn is_human_readable(&self) -> bool {
false
}

forward_to_deserialize_any! {
bool i8 i16 i32 i64 u8 u16 u32 u64 f32 f64 char str string unit
unit_struct seq tuple tuple_struct map struct identifier ignored_any
Expand Down
1 change: 1 addition & 0 deletions src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ where
self.serialize_struct(name, len)
}

#[inline]
fn is_human_readable(&self) -> bool {
false
}
Expand Down

0 comments on commit 225c48f

Please sign in to comment.