Merge pull request #694 from triska/write_all

FIXED: reliably write all characters when using format/3
This commit is contained in:
Mark Thom
2020-09-02 12:52:53 -06:00
committed by GitHub

View File

@@ -2137,7 +2137,7 @@ impl MachineState {
bytes = string.into_bytes();
}
match stream.write(&bytes) {
match stream.write_all(&bytes) {
Ok(_) => {
return return_from_clause!(self.last_call, self);
}