aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/cgocall.go
diff options
context:
space:
mode:
authorKunpei Sakai <namusyaka@gmail.com>2017-09-15 10:24:47 +0900
committerRob Pike <r@golang.org>2017-09-15 02:39:16 +0000
commit5a986eca869773c4459b36dad434b97287d5d4f3 (patch)
treeeac8b3560d7aa621379b2aea6f2c6bcc3bb3715a /src/runtime/cgocall.go
parent33cb1481f26c6f1acca445fafa18e7ad1d49efed (diff)
downloadgo-5a986eca869773c4459b36dad434b97287d5d4f3.tar.gz
go-5a986eca869773c4459b36dad434b97287d5d4f3.zip
all: fix article typos
a -> an Change-Id: I7362bdc199e83073a712be657f5d9ba16df3077e Reviewed-on: https://go-review.googlesource.com/63850 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/runtime/cgocall.go')
-rw-r--r--src/runtime/cgocall.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/cgocall.go b/src/runtime/cgocall.go
index ce4d707e06..672d190f12 100644
--- a/src/runtime/cgocall.go
+++ b/src/runtime/cgocall.go
@@ -340,7 +340,7 @@ func unwindm(restore *bool) {
// Call endcgo to do the accounting that cgocall will not have a
// chance to do during an unwind.
//
- // In the case where a a Go call originates from C, ncgo is 0
+ // In the case where a Go call originates from C, ncgo is 0
// and there is no matching cgocall to end.
if mp.ncgo > 0 {
endcgo(mp)