Skip to content

Commit

Permalink
derive: flatten Terminal for serde
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Oct 10, 2023
1 parent 4543c70 commit 5380ae5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/src/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ impl DerivedScript {
#[display("{addr}{terminal}")]
pub struct DerivedAddr {
pub addr: Address,
#[cfg_attr(feature = "serde", serde(flatten))]
pub terminal: Terminal,
}

Expand Down

0 comments on commit 5380ae5

Please sign in to comment.