Skip to content

Commit

Permalink
Remove serde renames from Display (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshrake committed Jun 11, 2022
1 parent 51602fb commit 3bd95d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,8 @@ impl Default for AlignContent {
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub enum Display {
/// The children will follow the flexbox layout algorithm
#[cfg_attr(feature = "serde", serde(rename = "flex"))]
Flex,
/// The children will not be laid out, and will follow absolute positioning
#[cfg_attr(feature = "serde", serde(rename = "none"))]
None,
}

Expand Down

0 comments on commit 3bd95d6

Please sign in to comment.