Skip to content

Commit 9076c5a

Browse files
committed
Remove unused dummy MacroTxLineEnding
1 parent 3d94f08 commit 9076c5a

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/settings/line_ending.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,6 @@ impl FromStr for TxLineEnding {
147147
}
148148
}
149149

150-
// Since `serde_inline_derive` can't handle conditionally compiled fields,
151-
// we just make a dummy that won't be included later anyway.
152-
#[cfg(not(feature = "macros"))]
153-
#[derive(Debug, Clone, PartialEq, Eq)]
154-
#[allow(dead_code)]
155-
pub enum MacroTxLineEnding {
156-
InheritTx,
157-
}
158-
159150
#[cfg(feature = "macros")]
160151
#[derive(Debug, Clone, PartialEq, Eq)]
161152
pub enum MacroTxLineEnding {

0 commit comments

Comments
 (0)