Remove left-over ch = ch.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user