From 6d71b0ec4372c5d076721990b4fa6d4555b825cb Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Sun, 3 Apr 2022 18:45:49 -0400 Subject: [PATCH] minor reformat --- src/cmd/enumerate.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cmd/enumerate.rs b/src/cmd/enumerate.rs index ba482e96a..899f63449 100644 --- a/src/cmd/enumerate.rs +++ b/src/cmd/enumerate.rs @@ -113,7 +113,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> { while rdr.read_byte_record(&mut record)? { if let Some(constant_value) = &args.flag_constant { if constant_value == NULL_VALUE { - record.push_field(b"") + record.push_field(b""); } else { record.push_field(constant_value.as_bytes()); } @@ -132,6 +132,5 @@ pub fn run(argv: &[&str]) -> CliResult<()> { } wtr.write_byte_record(&record)?; } - Ok(wtr.flush()?) }