diff options
Diffstat (limited to '')
-rw-r--r-- | src/compiler.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler.rs b/src/compiler.rs index db52837..0993987 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -247,10 +247,8 @@ pub fn compile(events: &[Event], codes: &[Code], options: &Options) -> String { // Figure out which line ending style we’ll use. let line_ending_default = if let Some(value) = line_ending_inferred { value - } else if let Some(value) = &options.default_line_ending { - value.clone() } else { - LineEnding::LineFeed + options.default_line_ending.clone() }; let mut enter_map: Map = HashMap::new(); |