1
0
mirror of https://github.com/golang/go synced 2024-11-26 21:21:34 -07:00
go/src/unicode/utf8
Ainar Garipov a3868028ac unicode/utf8: document the handling of runes out of range in EncodeRune
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>
2020-09-19 09:43:15 +00:00
..
example_test.go unicode/utf8: document the handling of runes out of range in EncodeRune 2020-09-19 09:43:15 +00:00
utf8_test.go
utf8.go unicode/utf8: document the handling of runes out of range in EncodeRune 2020-09-19 09:43:15 +00:00