You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried reading files using the fs helper functions read and read_to_string. I was lazy to verify the actual return value, but the length of the returned data was considerably shorter (< 4 bytes) than the contents of the files.
Reading the files using File::open().read() worked as expected. Writing the files using either io::Write or std::fs::write works.