@NfNitLoop on Twitter: Post

@NfNitLoop on Twitter

@NfNitLoop ("Cody C. #BLM") wrote:

Got a little too comfortable with #Rustlang forcing me to check Results. File.write(bytes) returns a Result, which I was handling, but

  1. It also returns a number of bytes written, which may be < what you sent
  2. One Err might be an Interrupted

... both of which you should retry