diff options
Diffstat (limited to 'src/pkg/unicode/digit.go')
| -rw-r--r-- | src/pkg/unicode/digit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/unicode/digit.go b/src/pkg/unicode/digit.go index 5518c06df..b12ada2d6 100644 --- a/src/pkg/unicode/digit.go +++ b/src/pkg/unicode/digit.go @@ -7,7 +7,7 @@ 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 - return '0' <= rune && rune <= '9'; + return '0' <= rune && rune <= '9' } return Is(Digit, rune); } |
