updated comments

This commit is contained in:
Josh Baker 2017-03-29 08:18:26 -07:00
parent 256887a8aa
commit 9944282cf6
1 changed files with 1 additions and 5 deletions

View File

@ -4,10 +4,6 @@ package gjson
import ( import (
"reflect" "reflect"
"strconv" "strconv"
// It's totally safe to use this package, but in case your
// project or organization restricts the use of 'unsafe',
// there's the "github.com/tidwall/gjson-safe" package.
"unsafe" "unsafe"
"github.com/tidwall/match" "github.com/tidwall/match"
@ -1761,7 +1757,7 @@ next_key:
} }
if i < len(paths[j]) { if i < len(paths[j]) {
if paths[j][i] == '.' { if paths[j][i] == '.' {
// matched, but there still more keys in the path // matched, but there are still more keys in path
goto match_not_atend goto match_not_atend
} }
} }