FIXED: reliably write all characters when using format/3
This addresses
Many thanks to for a brilliant test case, and the
suggestion of this correction!
@@ -2137,7 +2137,7 @@ fn system_call(
bytes = string.into_bytes();
}
- match stream.write(&bytes) {
+ match stream.write_all(&bytes) {
Ok(_) => {
return return_from_clause!(self.last_call, self);
}
