Skip to content

Commit

Permalink
Add #[serde(default)] to ReportFunction::address (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
ribbanya authored Feb 29, 2024
1 parent 5b9ac93 commit 5cfd04f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions objdiff-cli/src/cmd/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ struct ReportFunction {
#[serde(skip_serializing_if = "Option::is_none")]
demangled_name: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
serialize_with = "serialize_hex",
deserialize_with = "deserialize_hex"
Expand Down

0 comments on commit 5cfd04f

Please sign in to comment.