mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-27 22:39:18 +00:00
No need to flush after printing newlines
This commit is contained in:
parent
7af38e684d
commit
9fecdba101
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user