commit 99d2d9bf64aad0cc4b46bdcef43432ba48349c7a (tree)
parent cb3e8e323dc6846e16e868fcfb4d4bf135f56f48
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 28 Jul 2020 19:11:53 -0700
stage2: fix format() of mutable pointer types
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src-self-hosted/type.zig b/src-self-hosted/type.zig
@@ -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;
},