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