diff options
Diffstat (limited to 'src/encoding/json/decode.go')
| -rw-r--r-- | src/encoding/json/decode.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/encoding/json/decode.go b/src/encoding/json/decode.go index 46f9ed2da9..5ff1014dc5 100644 --- a/src/encoding/json/decode.go +++ b/src/encoding/json/decode.go @@ -1190,15 +1190,6 @@ func unquote(s []byte) (t string, ok bool) { return } -// unquoteBytes should be an internal detail, -// but widely used packages access it using linkname. -// Notable members of the hall of shame include: -// - github.com/bytedance/sonic -// -// Do not remove or change the type signature. -// See go.dev/issue/67401. -// -//go:linkname unquoteBytes func unquoteBytes(s []byte) (t []byte, ok bool) { if len(s) < 2 || s[0] != '"' || s[len(s)-1] != '"' { return |
