summaryrefslogtreecommitdiff
path: root/src/pkg/json/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/json/parse.go')
-rw-r--r--src/pkg/json/parse.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/json/parse.go b/src/pkg/json/parse.go
index ba291e940..26c01fe85 100644
--- a/src/pkg/json/parse.go
+++ b/src/pkg/json/parse.go
@@ -183,9 +183,7 @@ func punct(c byte) bool {
return c == '"' || c == '[' || c == ']' || c == ':' || c == '{' || c == '}' || c == ',';
}
-func white(c byte) bool {
- return c == ' ' || c == '\t' || c == '\n' || c == '\v';
-}
+func white(c byte) bool { return c == ' ' || c == '\t' || c == '\n' || c == '\v' }
func skipwhite(p string, i int) int {
for i < len(p) && white(p[i]) {