]> Cypherpunks repositories - gostls13.git/commitdiff
internal/abi: update type name in comment
authorIan Lance Taylor <iant@golang.org>
Fri, 12 May 2023 21:39:42 +0000 (14:39 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 17 May 2023 13:57:49 +0000 (13:57 +0000)
method -> Method

For #59670

Change-Id: I78e0410f3d5094aa12b2f3ccd6735fec0d696190
Reviewed-on: https://go-review.googlesource.com/c/go/+/494795
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>

src/internal/abi/type.go

index 5adc2b87130b54282e9aace669ea252638f384d3..ce950c3937812859e2cb40c87ce6eac92d538b62 100644 (file)
@@ -198,7 +198,7 @@ type UncommonType struct {
        PkgPath NameOff // import path; empty for built-in types like int, string
        Mcount  uint16  // number of methods
        Xcount  uint16  // number of exported methods
-       Moff    uint32  // offset from this uncommontype to [mcount]method
+       Moff    uint32  // offset from this uncommontype to [mcount]Method
        _       uint32  // unused
 }