Skip to content

Commit

Permalink
fix: Debug for BlobReader (n0-computer#1479)
Browse files Browse the repository at this point in the history
## Description

Was missing a `Debug` impl.

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist

- [ ] Self-review.
- [ ] Documentation updates if relevant.
- [ ] Tests if relevant.
  • Loading branch information
Frando authored Sep 13, 2023
1 parent c217283 commit c6935bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iroh/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<BoxStream<'static, io::Result<Bytes>>, Bytes>,
}
impl BlobReader {
Expand Down

0 comments on commit c6935bd

Please sign in to comment.