all: remove the repetitive words
Change-Id: Ifdadb14d311a3620e499f0b33feefa3e0448a6f1
GitHub-Last-Rev: 4c346f5537
GitHub-Pull-Request: golang/mobile#97
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/573035
Reviewed-by: Hajime Hoshi <hajimehoshi@gmail.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
Родитель
c58ccf4b0c
Коммит
c76e57eead
|
@ -977,7 +977,7 @@ func (g *ObjcGen) genInterfaceMethodProxy(obj *types.TypeName, m *types.Func) {
|
|||
|
||||
if isErrorType(obj.Type()) && m.Name() == "Error" {
|
||||
// As a special case, ObjC NSErrors are passed to Go pretending to implement the Go error interface.
|
||||
// They don't actually have an Error method, so calls to to it needs to be rerouted.
|
||||
// They don't actually have an Error method, so calls to it needs to be rerouted.
|
||||
g.Printf("%s = [o localizedDescription];\n", s.retParams[0].name)
|
||||
} else {
|
||||
if s.ret == "void" {
|
||||
|
|
|
@ -74,7 +74,7 @@ import "fmt"
|
|||
//
|
||||
// The unit Pt is a typographical point, 1/72 of an inch (0.3527 mm).
|
||||
//
|
||||
// It can be be converted to a length in current device pixels by
|
||||
// It can be converted to a length in current device pixels by
|
||||
// multiplying with PixelsPerPt after app initialization is complete.
|
||||
type Pt float32
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче