mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-05 17:53:29 +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