write true openoptions
This commit is contained in:
parent
131b9bb05d
commit
6e19b9ddff
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ fn main() -> io::Result<()> {
|
|||
|
||||
let mut results_file = OpenOptions::new()
|
||||
.create(true)
|
||||
.write(true)
|
||||
.truncate(true)
|
||||
.open(format!("./results/k1"))?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue