]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix documentation typo for gostartcall
authorSebastien Binet <seb.binet@gmail.com>
Wed, 29 Nov 2017 18:34:10 +0000 (19:34 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 29 Nov 2017 18:42:49 +0000 (18:42 +0000)
This CL is a simple doc typo fix, uncovered while reviewing the go-wasm
port.

Change-Id: I0fce915c341aaaea3a7cc365819abbc5f2c468c3
Reviewed-on: https://go-review.googlesource.com/80715
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/sys_x86.go

index 7e4e27354e497d51257b8f740856aac1afa31d9a..2b4ed8bdf56ee1403923a4575dcee28096885782 100644 (file)
@@ -11,7 +11,7 @@ import (
        "unsafe"
 )
 
-// adjust Gobuf as it if executed a call to fn with context ctxt
+// adjust Gobuf as if it executed a call to fn with context ctxt
 // and then did an immediate gosave.
 func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
        sp := buf.sp