From 9f2b1010c41b7fc2765a204e10aad0b568db3e4d Mon Sep 17 00:00:00 2001
From: Alex Crichton <alex@alexcrichton.com>
Date: Wed, 16 Sep 2015 23:32:21 -0700
Subject: [PATCH] Hide variants of c_void from docs

---
 src/lib.rs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib.rs b/src/lib.rs
index b3319475..ded1683d 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,
 }
 
-- 
GitLab