diff --git a/src/fop.rs b/src/fop.rs index 4237fe9..2b91963 100644 --- a/src/fop.rs +++ b/src/fop.rs @@ -138,7 +138,7 @@ fn main() -> ExitCode { let output = spawned.wait_with_output().unwrap_or_else(|e| { err(&argv[0], e); exit(EX_IOERR.into()); - }); + }); /* get the output with which the original field will * be replaced */ @@ -173,7 +173,6 @@ fn main() -> ExitCode { exit(EX_IOERR.into()); }); - n += 1; } @@ -183,6 +182,4 @@ fn main() -> ExitCode { eprintln!("{}: {}: no such index in input", argv[0], index); return EX_DATAERR.into(); } - - }