Skip to content

Commit

Permalink
chore: remove duplicate word in comments (#1169)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abirdcfly authored Aug 30, 2022
1 parent eae3743 commit 9abd14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stacktrace.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9abd14b

Please sign in to comment.