Formatting and writing to a file without malloc or locks

That's correct. You can use a BufWriter<File> or a LineWriter<File> instead if you want buffered I/O.

3 Likes