mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 06:42:42 +00:00
Add flush after calculating factor
This commit is contained in:
parent
698bdf5f9a
commit
f9b7423eef
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ fn print_factors_str(
|
|||
writeln!(factors_buffer, "{}:{}", x, factor(x))?;
|
||||
}
|
||||
w.write_all(factors_buffer.as_bytes())?;
|
||||
w.flush()?;
|
||||
Ok(())
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue