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 @@ -191,14 +191,15 @@ pub mod types {
191191 /// C. Use the unit type `()` or omit the return type instead.
192192 ///
193193 /// For LLVM to recognize the void pointer type and by extension
194- /// functions like malloc(), we need to have it represented as i8* in
195- /// LLVM bitcode. The enum used here ensures this and prevents misuse
196- /// of the "raw" type by only having private variants.. We need two
197- /// variants, because the compiler complains about the repr attribute
198- /// otherwise.
194+ /// functions like malloc(), we need to have it represented as i8*
195+ /// in LLVM bitcode. The enum used here ensures this. We need two
196+ /// variants, because the compiler complains about the `repr`
197+ /// attribute otherwise.
199198 #[ repr( u8 ) ]
200199 pub enum c_void {
200+ #[ doc( hidden) ]
201201 __variant1,
202+ #[ doc( hidden) ]
202203 __variant2,
203204 }
204205
You can’t perform that action at this time.
0 commit comments