Inline is_human_readable
This commit is contained in:
parent
030459a040
commit
2f58a20bc6
@ -1019,6 +1019,7 @@ pub trait Deserializer<'de>: Sized {
|
||||
///
|
||||
/// NOTE: Implementing this method and returning `false` is considered a breaking
|
||||
/// change as it may alter how any given type tries to deserialize itself.
|
||||
#[inline]
|
||||
fn is_human_readable(&self) -> bool { true }
|
||||
}
|
||||
|
||||
|
@ -1371,6 +1371,7 @@ pub trait Serializer: Sized {
|
||||
///
|
||||
/// NOTE: Implementing this method and returning `false` is considered a breaking
|
||||
/// change as it may alter how any given type tries to serialize itself.
|
||||
#[inline]
|
||||
fn is_human_readable(&self) -> bool { true }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user