From 9abd14b74c15022c9e64b1bc790338eafe5e4abe Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Tue, 30 Aug 2022 15:01:01 +0800 Subject: [PATCH] chore: remove duplicate word in comments (#1169) --- stacktrace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacktrace.go b/stacktrace.go index 3d187fa56..817a3bde8 100644 --- a/stacktrace.go +++ b/stacktrace.go @@ -154,7 +154,7 @@ func newStackFormatter(b *buffer.Buffer) stackFormatter { // the final runtime.main/runtime.goexit frame. func (sf *stackFormatter) FormatStack(stack *stacktrace) { // Note: On the last iteration, frames.Next() returns false, with a valid - // frame, but we ignore this frame. The last frame is a a runtime frame which + // frame, but we ignore this frame. The last frame is a runtime frame which // adds noise, since it's only either runtime.main or runtime.goexit. for frame, more := stack.Next(); more; frame, more = stack.Next() { sf.FormatFrame(frame)