From c6935bddbef652982d58145c7936cb9efb1023a3 Mon Sep 17 00:00:00 2001 From: Franz Heinzmann Date: Wed, 13 Sep 2023 22:28:15 +0200 Subject: [PATCH] fix: Debug for BlobReader (#1479) ## Description Was missing a `Debug` impl. ## Notes & open questions ## Change checklist - [ ] Self-review. - [ ] Documentation updates if relevant. - [ ] Tests if relevant. --- iroh/src/client.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iroh/src/client.rs b/iroh/src/client.rs index ded15ecdd1..d0c9932c87 100644 --- a/iroh/src/client.rs +++ b/iroh/src/client.rs @@ -141,9 +141,11 @@ where /// Data reader for a single blob. /// /// Implements [`AsyncRead`]. +#[derive(derive_more::Debug)] pub struct BlobReader { size: u64, is_complete: bool, + #[debug("StreamReader")] stream: tokio_util::io::StreamReader>, Bytes>, } impl BlobReader {