mirror of https://github.com/goccy/go-json.git
Update struct.go
This commit is contained in:
parent
4bce081dac
commit
b29e1ad08b
|
@ -812,7 +812,6 @@ func (d *structDecoder) Decode(ctx *RuntimeContext, cursor, depth int64, p unsaf
|
|||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
cursor = c
|
||||
} else {
|
||||
return 0, err
|
||||
}
|
||||
|
@ -833,7 +832,6 @@ func (d *structDecoder) Decode(ctx *RuntimeContext, cursor, depth int64, p unsaf
|
|||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
cursor = c
|
||||
} else {
|
||||
return 0, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue