Skip to content

Commit

Permalink
Fix typo in objectNameStack.getUnquoted (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsnet committed May 24, 2024
1 parent 881e9e9 commit 2d9f40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsontext/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ func (ns *objectNameStack) length() int {
return len(ns.offsets)
}

// getUnquoted retrieves the ith unquoted name in the namespace.
// getUnquoted retrieves the ith unquoted name in the stack.
// It returns an empty string if the last object is empty.
//
// Invariant: Must call copyQuotedBuffer beforehand.
Expand Down

0 comments on commit 2d9f40f

Please sign in to comment.