1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-05 00:48:47 +02:00

No need to flush after printing newlines

This commit is contained in:
mo8it
2025-06-28 02:14:55 +02:00
parent 7af38e684d
commit 9fecdba101

View File

@ -188,7 +188,6 @@ impl<'a, 'lock> ProgressCounter<'a, 'lock> {
impl Drop for ProgressCounter<'_, '_> {
fn drop(&mut self) {
let _ = self.stdout.write_all(b"\n\n");
let _ = self.stdout.flush();
}
}