File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -192,14 +192,15 @@ pub mod types {
192
192
/// C. Use the unit type `()` or omit the return type instead.
193
193
///
194
194
/// 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.
200
199
#[ repr( u8 ) ]
201
200
pub enum c_void {
201
+ #[ doc( hidden) ]
202
202
__variant1,
203
+ #[ doc( hidden) ]
203
204
__variant2,
204
205
}
205
206
You can’t perform that action at this time.
0 commit comments