summaryrefslogtreecommitdiff
path: root/src/pkg/unicode/digit.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/unicode/digit.go')
-rw-r--r--src/pkg/unicode/digit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/unicode/digit.go b/src/pkg/unicode/digit.go
index b12ada2d6..471c4dfdc 100644
--- a/src/pkg/unicode/digit.go
+++ b/src/pkg/unicode/digit.go
@@ -6,8 +6,8 @@ package unicode
// IsDigit reports whether the rune is a decimal digit.
func IsDigit(rune int) bool {
- if rune < 0x100 { // quick ASCII (Latin-1, really) check
+ if rune < 0x100 { // quick ASCII (Latin-1, really) check
return '0' <= rune && rune <= '9'
}
- return Is(Digit, rune);
+ return Is(Digit, rune)
}