@@ -228,13 +228,13 @@ impl<'a> CSerialize<'a> for Type {
228228 if self . is_const ( ) {
229229 write ! ( writer, "const " ) ?;
230230 }
231- write ! ( writer, "void" ) ?
231+ write ! ( writer, "void" ) ?;
232232 }
233233 TypeKind :: NullPtr => {
234234 if self . is_const ( ) {
235235 write ! ( writer, "const " ) ?;
236236 }
237- write ! ( writer, "nullptr_t" ) ?
237+ write ! ( writer, "nullptr_t" ) ?;
238238 }
239239 TypeKind :: Int ( int_kind) => {
240240 if self . is_const ( ) {
@@ -285,7 +285,7 @@ impl<'a> CSerialize<'a> for Type {
285285 FloatKind :: Float => write ! ( writer, "float complex" ) ?,
286286 FloatKind :: Double => write ! ( writer, "double complex" ) ?,
287287 FloatKind :: LongDouble => {
288- write ! ( writer, "long double complex" ) ?
288+ write ! ( writer, "long double complex" ) ?;
289289 }
290290 FloatKind :: Float128 => write ! ( writer, "__complex128" ) ?,
291291 }
@@ -303,7 +303,7 @@ impl<'a> CSerialize<'a> for Type {
303303 }
304304 TypeKind :: Array ( type_id, length) => {
305305 type_id. serialize ( ctx, ( ) , stack, writer) ?;
306- write ! ( writer, " [{length}]" ) ?
306+ write ! ( writer, " [{length}]" ) ?;
307307 }
308308 TypeKind :: Function ( signature) => {
309309 if self . is_const ( ) {
@@ -341,22 +341,22 @@ impl<'a> CSerialize<'a> for Type {
341341 type_id. serialize ( ctx, ( ) , & mut stack, buf)
342342 } ,
343343 ) ?;
344- write ! ( writer, ")" ) ?
344+ write ! ( writer, ")" ) ?;
345345 }
346346 }
347347 TypeKind :: ResolvedTypeRef ( type_id) => {
348348 if self . is_const ( ) {
349349 write ! ( writer, "const " ) ?;
350350 }
351- type_id. serialize ( ctx, ( ) , stack, writer) ?
351+ type_id. serialize ( ctx, ( ) , stack, writer) ?;
352352 }
353353 TypeKind :: Pointer ( type_id) => {
354354 if self . is_const ( ) {
355355 stack. push ( "*const " . to_owned ( ) ) ;
356356 } else {
357357 stack. push ( "*" . to_owned ( ) ) ;
358358 }
359- type_id. serialize ( ctx, ( ) , stack, writer) ?
359+ type_id. serialize ( ctx, ( ) , stack, writer) ?;
360360 }
361361 TypeKind :: Comp ( comp_info) => {
362362 if self . is_const ( ) {
0 commit comments