Skip to content

Commit

Permalink
Fix typo in objectNameStack.getUnquoted
Browse files Browse the repository at this point in the history
  • Loading branch information
dsnet committed Apr 23, 2024
1 parent af2d506 commit ac1b810
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 ac1b810

Please sign in to comment.