Skip to content

Commit

Permalink
Remove outdated comment about saneDefault handling
Browse files Browse the repository at this point in the history
  • Loading branch information
nussjustin authored and Brian Picciano committed Jan 10, 2022
1 parent b2893cb commit 90d7fb3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions resp/resp3/resp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1606,8 +1606,6 @@ func marshalStruct(w io.Writer, vv reflect.Value, inline bool, o *resp.Opts) err
}

func saneDefault(prefix Prefix) (interface{}, error) {
// we don't handle ErrorPrefix because that always returns an error and
// doesn't touch I
switch prefix {
case BlobErrorPrefix, SimpleErrorPrefix:
return new(error), nil
Expand Down

0 comments on commit 90d7fb3

Please sign in to comment.