raad crate for eating and pushing bytes
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -66,7 +66,8 @@ macro_rules! trt { note = "read to [u8; N] first and then parse it", label = "unreadable type" )] - trait Readable + #[doc(hidden)] + pub trait Readable where Self: Sized, { @@ -103,7 +104,8 @@ macro_rules! trt { note = "turn it into a &[u8] first and then write that", label = "unwritable type", )] - trait Writable { + #[doc(hidden)] + pub trait Writable { fn _w(self, to: &mut impl Write) -> Result<()>; } |