Skip to content

Commit

Permalink
Remove reference to DisallowDuplicateKey, which was removed in (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirikon authored Jan 3, 2025
1 parent 9cbf5d4 commit 80a7d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion option.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func Validator(v StructValidator) DecodeOption {
}
}

// Strict enable DisallowUnknownField and DisallowDuplicateKey
// Strict enable DisallowUnknownField
func Strict() DecodeOption {
return func(d *Decoder) error {
d.disallowUnknownField = true
Expand Down

0 comments on commit 80a7d85

Please sign in to comment.