From: Ian Jackson Date: Sun, 1 Aug 2021 18:28:30 +0000 (+0100) Subject: wip debug X-Git-Tag: hippotat/1.0.0~394 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=efdd8614a5b020332b83b42e2fe466867d6ed28f;p=hippotat.git wip debug Signed-off-by: Ian Jackson --- diff --git a/src/slip.rs b/src/slip.rs index 5b34c53..f4b23a5 100644 --- a/src/slip.rs +++ b/src/slip.rs @@ -64,7 +64,7 @@ impl From for FramesData { fn from(frames: Frames) -> FramesData { frames.frames } } -struct DumpHex<'b>(pub &'b [u8]); +pub struct DumpHex<'b>(pub &'b [u8]); impl Display for DumpHex<'_> { #[throws(fmt::Error)] fn fmt(&self, f: &mut fmt::Formatter) {