From 1d3be7e9766f2dd069935797b6252d94830d6d9d Mon Sep 17 00:00:00 2001 From: Luca Cominardi Date: Thu, 5 Sep 2024 15:27:39 +0200 Subject: [PATCH] #[derive(Debug)] for ZBytesSliceIterator --- zenoh/src/api/bytes.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/zenoh/src/api/bytes.rs b/zenoh/src/api/bytes.rs index c79e07a328..d8004bbcf0 100644 --- a/zenoh/src/api/bytes.rs +++ b/zenoh/src/api/bytes.rs @@ -651,6 +651,7 @@ impl std::io::Write for ZBytesWriter<'_> { /// An iterator that implements [`std::iter::Iterator`] trait to iterate on [`&[u8]`]. #[repr(transparent)] +#[derive(Debug)] pub struct ZBytesSliceIterator<'a>(ZBytesSliceIteratorInner<'a>); // Typedef to make clippy happy about complex type. Encapsulate inner `ZBufSliceOperator`.