summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rust/src/bin/fatcat-export.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/bin/fatcat-export.rs b/rust/src/bin/fatcat-export.rs
index 3cc0c7a8..7d671b9a 100644
--- a/rust/src/bin/fatcat-export.rs
+++ b/rust/src/bin/fatcat-export.rs
@@ -151,8 +151,8 @@ fn loop_batch_printer(
for line in batch {
buf_output.write_all(&line.into_bytes())?;
buf_output.write_all(b"\n")?;
- buf_output.flush()?;
}
+ buf_output.flush()?;
}
drop(done_sender);
Ok(())