File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -192,14 +192,15 @@ pub mod types {
192192 /// C. Use the unit type `()` or omit the return type instead.
193193 ///
194194 /// For LLVM to recognize the void pointer type and by extension
195- /// functions like malloc(), we need to have it represented as i8* in
196- /// LLVM bitcode. The enum used here ensures this and prevents misuse
197- /// of the "raw" type by only having private variants.. We need two
198- /// variants, because the compiler complains about the repr attribute
199- /// otherwise.
195+ /// functions like malloc(), we need to have it represented as i8*
196+ /// in LLVM bitcode. The enum used here ensures this. We need two
197+ /// variants, because the compiler complains about the `repr`
198+ /// attribute otherwise.
200199 #[ repr( u8 ) ]
201200 pub enum c_void {
201+ #[ doc( hidden) ]
202202 __variant1,
203+ #[ doc( hidden) ]
203204 __variant2,
204205 }
205206
You can’t perform that action at this time.
0 commit comments