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 {
191
191
/// C. Use the unit type `()` or omit the return type instead.
192
192
///
193
193
/// 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.
199
198
#[ repr( u8 ) ]
200
199
pub enum c_void {
200
+ #[ doc( hidden) ]
201
201
__variant1,
202
+ #[ doc( hidden) ]
202
203
__variant2,
203
204
}
204
205
You can’t perform that action at this time.
0 commit comments