Remove left-over ch = ch.

This commit is contained in:
2025-09-29 10:48:40 +02:00
parent ec5a6b770d
commit 2a1adb048e

View File

@@ -60,7 +60,6 @@ pub fn work(in_path:Option<&str>, out_path:Option<&str>) -> io::Result<()> {
last_ch = ' '; last_ch = ' ';
}, },
_ => { _ => {
let ch = ch;
if ch != ' ' || last_ch != ' ' { if ch != ' ' || last_ch != ' ' {
out_writer.write(format!("{}", ch).as_bytes())?; out_writer.write(format!("{}", ch).as_bytes())?;
last_ch = ch; last_ch = ch;