From 2adc4e892704bb99f2d16c0c09777987cb6bed35 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 17 Feb 2015 15:44:42 -0800 Subject: all: use "reports whether" in place of "returns true if(f)" Comment changes only. Change-Id: I56848814564c4aa0988b451df18bebdfc88d6d94 Reviewed-on: https://go-review.googlesource.com/7721 Reviewed-by: Rob Pike --- src/unicode/utf16/utf16.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unicode') diff --git a/src/unicode/utf16/utf16.go b/src/unicode/utf16/utf16.go index c0e47c535a..b497500778 100644 --- a/src/unicode/utf16/utf16.go +++ b/src/unicode/utf16/utf16.go @@ -25,7 +25,7 @@ const ( surrSelf = 0x10000 ) -// IsSurrogate returns true if the specified Unicode code point +// IsSurrogate reports whether the specified Unicode code point // can appear in a surrogate pair. func IsSurrogate(r rune) bool { return surr1 <= r && r < surr3 -- cgit v1.3