aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/tracebuf.go
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2025-12-18 10:36:50 +0800
committerGopher Robot <gobot@golang.org>2025-12-30 07:28:53 -0800
commitfd45d70799853ef5980a559e206353574108d8da (patch)
tree6809c57120f948fb54801d900e40b39c648a61ec /src/runtime/tracebuf.go
parentdf4e08ac65e94041367785783ec1482e8bed2397 (diff)
downloadgo-fd45d70799853ef5980a559e206353574108d8da.tar.xz
all: fix some minor grammatical issues in the comments
Change-Id: I0459f05e7f6abd9738813c65d993114e931720d5 Reviewed-on: https://go-review.googlesource.com/c/go/+/731000 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Keith Randall <khr@golang.org> Auto-Submit: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/tracebuf.go')
-rw-r--r--src/runtime/tracebuf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/tracebuf.go b/src/runtime/tracebuf.go
index 5adaede424..1caf69f8b8 100644
--- a/src/runtime/tracebuf.go
+++ b/src/runtime/tracebuf.go
@@ -29,7 +29,7 @@ type traceWriter struct {
*traceBuf
}
-// writer returns an a traceWriter that writes into the current M's stream.
+// writer returns a traceWriter that writes into the current M's stream.
//
// Once this is called, the caller must guard against stack growth until
// end is called on it. Therefore, it's highly recommended to use this