stage2: fix format() of mutable pointer types

This commit is contained in:
Andrew Kelley
2020-07-28 19:11:53 -07:00
parent cb3e8e323d
commit 99d2d9bf64

View File

@@ -380,7 +380,7 @@ pub const Type = extern union {
},
.single_mut_pointer => {
const payload = @fieldParentPtr(Payload.SingleMutPointer, "base", ty.ptr_otherwise);
try out_stream.writeAll("* ");
try out_stream.writeAll("*");
ty = payload.pointee_type;
continue;
},