diff --git a/src/lib.rs b/src/lib.rs index ffc01c1..c9664a8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -262,11 +262,9 @@ pub fn format_env_file(content: &str, prune: bool) -> Result, let mut key_value_lines: Vec = lines .into_iter() - .filter(|line| { - match line { - parser::Line::KeyValue { value, .. } => !value.is_empty(), - parser::Line::Comment(_) => !prune, - } + .filter(|line| match line { + parser::Line::KeyValue { value, .. } => !value.is_empty(), + parser::Line::Comment(_) => !prune, }) .collect();