]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typo in comment
authorDmitry Vyukov <dvyukov@google.com>
Thu, 2 Jun 2016 05:43:21 +0000 (07:43 +0200)
committerAndrew Gerrand <adg@golang.org>
Thu, 2 Jun 2016 06:02:01 +0000 (06:02 +0000)
Change-Id: I82e35770b45ccd1433dfae0af423073c312c0859
Reviewed-on: https://go-review.googlesource.com/23680
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/runtime/traceback.go

index f9d9f21eea133c02abfef2b5f27ab35a7c18e936..96f154e2131e6c985063e8e0e0aa8c4771ddb250 100644 (file)
@@ -844,8 +844,8 @@ func isSystemGoroutine(gp *g) bool {
 // If the Context field is not 0, then it is a value returned by a
 // previous call to the context function. This case is called when the
 // context is no longer needed; that is, when the Go code is returning
-// to its C code caller. This permits permits the context function to
-// release any associated resources.
+// to its C code caller. This permits the context function to release
+// any associated resources.
 //
 // While it would be correct for the context function to record a
 // complete a stack trace whenever it is called, and simply copy that