summaryrefslogtreecommitdiff
path: root/src/unicode/utf8/example_test.go
Commit message (Collapse)AuthorAgeFilesLines
* unicode/utf8: document the handling of runes out of range in EncodeRuneAinar Garipov2020-09-191-0/+20
| | | | | | | | | | | | | Document the way EncodeRune currently handles runes which are out of range. Also add an example showing that behaviour. Change-Id: I0f8e7645ae053474ec319085a2bb6d7f73bc137c Reviewed-on: https://go-review.googlesource.com/c/go/+/255998 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Giovanni Bajo <rasky@develer.com> Trust: Giovanni Bajo <rasky@develer.com> Run-TryBot: Giovanni Bajo <rasky@develer.com> TryBot-Result: Go Bot <gobot@golang.org>
* build: move package sources from src/pkg to srcRuss Cox2014-09-081-0/+196
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.