From 9cd055ce42adc9f9e98d7605ca019aff84180c66 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 21 Feb 2024 14:15:46 +0100 Subject: [PATCH] fixme --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 80abace..2118b14 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,6 +16,8 @@ fn main() -> Result<(), io::Error> { // multiple times. `tee` from the GNU coreutils does this too. let mut buf = Vec::new(); io::stdin() + // FIXME: we don't want to always read to end! If we want to seep a network socket for + // example. .read_to_end(&mut buf) .inspect_err(|err| eprintln!("{err}"))?;