mirror of https://github.com/encounter/objdiff.git
Add `#[serde(default)]` to `ReportFunction::address` (#43)
This commit is contained in:
parent
5b9ac93c08
commit
5cfd04fd4f
|
@ -95,6 +95,7 @@ struct ReportFunction {
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
demangled_name: Option<String>,
|
demangled_name: Option<String>,
|
||||||
#[serde(
|
#[serde(
|
||||||
|
default,
|
||||||
skip_serializing_if = "Option::is_none",
|
skip_serializing_if = "Option::is_none",
|
||||||
serialize_with = "serialize_hex",
|
serialize_with = "serialize_hex",
|
||||||
deserialize_with = "deserialize_hex"
|
deserialize_with = "deserialize_hex"
|
||||||
|
|
Loading…
Reference in New Issue