-
João Magalhães authored
Without flush we would might be loosing some bytes in writing. This is explicitly stated in https://doc.rust-lang.org/std/fs/struct.File.html. Also adds more explicit error handling in state related code.
João Magalhães authoredWithout flush we would might be loosing some bytes in writing. This is explicitly stated in https://doc.rust-lang.org/std/fs/struct.File.html. Also adds more explicit error handling in state related code.