aboutsummaryrefslogtreecommitdiff
path: root/src/sync
diff options
context:
space:
mode:
authorRoberto <empijei@users.noreply.github.com>2018-10-06 06:53:32 +0000
committerDaniel Martí <mvdan@mvdan.cc>2018-10-06 12:04:57 +0000
commit963776e689c4c015c89464ab4fef90ae50373f66 (patch)
tree906c02133b3165bcdb4773188b0b0956431ca3e4 /src/sync
parent2294e3ebd374e18b191d0e8d8d32c46b0a1ef961 (diff)
downloadgo-963776e689c4c015c89464ab4fef90ae50373f66.tar.gz
go-963776e689c4c015c89464ab4fef90ae50373f66.zip
sync: fix typo in doc
Change-Id: Ie1f35c7598bd2549a048d64e1b1279bf4acaa103 GitHub-Last-Rev: c8cc7dfef987cbd04f48daabf23efa64c0c67322 GitHub-Pull-Request: golang/go#28051 Reviewed-on: https://go-review.googlesource.com/c/140302 Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Diffstat (limited to 'src/sync')
-rw-r--r--src/sync/runtime.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync/runtime.go b/src/sync/runtime.go
index be16bcc8f7..a13d9f6cf1 100644
--- a/src/sync/runtime.go
+++ b/src/sync/runtime.go
@@ -54,7 +54,7 @@ func init() {
}
// Active spinning runtime support.
-// runtime_canSpin returns true is spinning makes sense at the moment.
+// runtime_canSpin returns true if spinning makes sense at the moment.
func runtime_canSpin(i int) bool
// runtime_doSpin does active spinning.