Skip to content

Commit

Permalink
fix: remove unnecessary serde tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wowkster committed May 29, 2024
1 parent 201f13d commit 505ab20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion kicad_format/src/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,6 @@ impl ToSexpr for Image {
#[repr(u8)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))]
#[cfg_attr(feature = "serde", serde(tag = "type"))]
#[derive(Debug, PartialEq, Clone, Copy)]
pub enum LayerId {
FCu,
Expand Down
1 change: 0 additions & 1 deletion kicad_format/src/common/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ impl ToSexpr for LibSymbol {

#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))]
#[cfg_attr(feature = "serde", serde(tag = "type"))]
#[derive(Debug, PartialEq, Clone)]
pub struct LibSymbolSubUnit {
pub id: UnitId,
Expand Down

0 comments on commit 505ab20

Please sign in to comment.