fixme
cargo devel CI / cargo CI (push) Successful in 23s Details

This commit is contained in:
Christoph J. Scherr 2024-02-21 14:15:46 +01:00
parent f6f91e5201
commit 9cd055ce42
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 2 additions and 0 deletions

View File

@ -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}"))?;