commit | 9f2b1010c41b7fc2765a204e10aad0b568db3e4d | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Wed Sep 16 23:32:21 2015 -0700 |
committer | Alex Crichton <alex@alexcrichton.com> | Wed Sep 16 23:32:21 2015 -0700 |
tree | d5c3d6c624f722cb94ff02893cd1208d77eae705 | |
parent | e3b6f83c1845d19414a30c2ecb4460de2251f2d8 [diff] |
Hide variants of c_void from docs
diff --git a/src/lib.rs b/src/lib.rs index b331947..ded1683 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -14,7 +14,10 @@ #[repr(u8)] pub enum c_void { + // Two dummy variants so the #[repr] attribute can be used + #[doc(hidden)] __variant1, + #[doc(hidden)] __variant2, }