summaryrefslogtreecommitdiff
path: root/src/pkg/unicode/utf8
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2014-07-16 16:29:51 -0700
committerRobert Griesemer <gri@golang.org>2014-07-16 16:29:51 -0700
commitba5bd4f39f67e0d3b8df76db9926737840f44e9e (patch)
tree6215b6c73d585abcac5fe5f4833f881038df3cbc /src/pkg/unicode/utf8
parentc678fb35b728e05f4c1dc0b3b9f7389496c5acef (diff)
downloadgo-ba5bd4f39f67e0d3b8df76db9926737840f44e9e.tar.gz
src, misc: applied gofmt -s -w
Pending CL 113120043. LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://codereview.appspot.com/112290043
Diffstat (limited to 'src/pkg/unicode/utf8')
-rw-r--r--src/pkg/unicode/utf8/utf8.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/unicode/utf8/utf8.go b/src/pkg/unicode/utf8/utf8.go
index 0dc859a04..253295ad3 100644
--- a/src/pkg/unicode/utf8/utf8.go
+++ b/src/pkg/unicode/utf8/utf8.go
@@ -372,7 +372,7 @@ func RuneCount(p []byte) int {
// RuneCountInString is like RuneCount but its input is a string.
func RuneCountInString(s string) (n int) {
- for _ = range s {
+ for range s {
n++
}
return