raad crate for eating and pushing bytes
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9c661bd..62b2cbc 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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<()>;
}