Skip to content

Commit

Permalink
gofmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
davecheney committed Oct 31, 2023
1 parent aa5ea5b commit 50e66cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions fuzz.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build gofuzz
// +build gofuzz

package json
Expand Down
22 changes: 11 additions & 11 deletions scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ var whitespace = [256]bool{
//
// A valid token begins with one of the following:
//
// { Object start
// [ Array start
// } Object end
// ] Array End
// , Literal comma
// : Literal colon
// t JSON true
// f JSON false
// n JSON null
// " A string, possibly containing backslash escaped entites.
// -, 0-9 A number
// { Object start
// [ Array start
// } Object end
// ] Array End
// , Literal comma
// : Literal colon
// t JSON true
// f JSON false
// n JSON null
// " A string, possibly containing backslash escaped entites.
// -, 0-9 A number
func (s *Scanner) Next() []byte {
s.br.release(s.pos)
w := s.br.window(0)
Expand Down

0 comments on commit 50e66cd

Please sign in to comment.