]> Cypherpunks repositories - gostls13.git/commit
go/doc/comment: don't crash if there are no words to wrap
authorIan Lance Taylor <iant@golang.org>
Mon, 9 May 2022 20:23:10 +0000 (13:23 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 9 May 2022 20:57:58 +0000 (20:57 +0000)
commit3f43096f1549ea32229202618d9cd81a5761c697
treecb03a904e253d0cb40e5941059cc882ff42d4f5d
parenta971499a6234d94b5be93b573de64d1b4f36654e
go/doc/comment: don't crash if there are no words to wrap

Fixes #52783

Change-Id: I12e3da40d49cd92776052bf19cb07ee8a07f3ee0
Reviewed-on: https://go-review.googlesource.com/c/go/+/405215
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/go/doc/comment/testdata/crash1.txt [new file with mode: 0644]
src/go/doc/comment/text.go