summaryrefslogtreecommitdiff
path: root/src/pkg/utf8/utf8.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/utf8/utf8.go')
-rw-r--r--src/pkg/utf8/utf8.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/utf8/utf8.go b/src/pkg/utf8/utf8.go
index 18ae7cf58..89cdc9956 100644
--- a/src/pkg/utf8/utf8.go
+++ b/src/pkg/utf8/utf8.go
@@ -291,6 +291,4 @@ func RuneCountInString(s string) int {
// RuneStart reports whether the byte could be the first byte of
// an encoded rune. Second and subsequent bytes always have the top
// two bits set to 10.
-func RuneStart(b byte) bool {
- return b&0xC0 != 0x80;
-}
+func RuneStart(b byte) bool { return b&0xC0 != 0x80 }