aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/jsontext/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding/json/jsontext/state.go')
-rw-r--r--src/encoding/json/jsontext/state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoding/json/jsontext/state.go b/src/encoding/json/jsontext/state.go
index 1e8b4f22db..d214fd5190 100644
--- a/src/encoding/json/jsontext/state.go
+++ b/src/encoding/json/jsontext/state.go
@@ -297,7 +297,7 @@ func (m *stateMachine) appendNumber() error {
return m.appendLiteral()
}
-// pushObject appends a JSON start object token as next in the sequence.
+// pushObject appends a JSON begin object token as next in the sequence.
// If an error is returned, the state is not mutated.
func (m *stateMachine) pushObject() error {
switch {
@@ -332,7 +332,7 @@ func (m *stateMachine) popObject() error {
}
}
-// pushArray appends a JSON start array token as next in the sequence.
+// pushArray appends a JSON begin array token as next in the sequence.
// If an error is returned, the state is not mutated.
func (m *stateMachine) pushArray() error {
switch {