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:
@ -188,7 +188,6 @@ impl<'a, 'lock> ProgressCounter<'a, 'lock> {
|
|||||||
impl Drop for ProgressCounter<'_, '_> {
|
impl Drop for ProgressCounter<'_, '_> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
let _ = self.stdout.write_all(b"\n\n");
|
let _ = self.stdout.write_all(b"\n\n");
|
||||||
let _ = self.stdout.flush();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user