write true openoptions

This commit is contained in:
jacekpoz 2024-05-09 01:58:14 +02:00
parent 131b9bb05d
commit 6e19b9ddff
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -78,6 +78,7 @@ fn main() -> io::Result<()> {
let mut results_file = OpenOptions::new()
.create(true)
.write(true)
.truncate(true)
.open(format!("./results/k1"))?;