Skip to content

Commit

Permalink
Fix append_history
Browse files Browse the repository at this point in the history
Do not generate blank line.
Fix kkawakam#469
  • Loading branch information
gwenn committed Dec 4, 2020
1 parent 755979c commit b25c2a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ impl History {
}
wtr.write_all(bytes)?; // remaining bytes with no \n or \
}
wtr.write_all(b"\n")?;
// https://github.com/rust-lang/rust/issues/32677#issuecomment-204833485
wtr.flush()?;
Ok(())
Expand Down

0 comments on commit b25c2a7

Please sign in to comment.