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() let mut results_file = OpenOptions::new()
.create(true) .create(true)
.write(true)
.truncate(true) .truncate(true)
.open(format!("./results/k1"))?; .open(format!("./results/k1"))?;