Skip to content

Commit 1264f6e

Browse files
committed
cmd/compile: gofmt
Change-Id: I754861147838d0f6c184d8deb8a028062a1d3214 Reviewed-on: https://go-review.googlesource.com/20400 Reviewed-by: Russ Cox <[email protected]>
1 parent 21af2d3 commit 1264f6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/compile/internal/gc/reflect.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,15 +762,15 @@ func dcommontype(s *Sym, ot int, t *Type) int {
762762
ot = dsymptr(s, ot, gcsym, 0) // gcdata
763763

764764
p := Tconv(t, obj.FmtLeft|obj.FmtUnsigned)
765-
765+
766766
// If we're writing out type T,
767767
// we are very likely to write out type *T as well.
768768
// Use the string "*T"[1:] for "T", so that the two
769769
// share storage. This is a cheap way to reduce the
770770
// amount of space taken up by reflect strings.
771771
prefix := 0
772772
if !strings.HasPrefix(p, "*") {
773-
p = "*"+p
773+
p = "*" + p
774774
prefix = 1
775775
}
776776
_, symdata := stringsym(p) // string

0 commit comments

Comments
 (0)