truncate file on test
This commit is contained in:
parent
1d3728e795
commit
131b9bb05d
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ fn main() -> io::Result<()> {
|
||||||
|
|
||||||
let mut results_file = OpenOptions::new()
|
let mut results_file = OpenOptions::new()
|
||||||
.create(true)
|
.create(true)
|
||||||
.append(true)
|
.truncate(true)
|
||||||
.open(format!("./results/k1"))?;
|
.open(format!("./results/k1"))?;
|
||||||
|
|
||||||
for n in (100..=50000).step_by(100) {
|
for n in (100..=50000).step_by(100) {
|
||||||
|
|
Loading…
Reference in a new issue