Skip to content

Conversation

makupi
Copy link

@makupi makupi commented Jun 24, 2022

The documentation for the DecodeWithError functions currently don't reflect what the code actually does.
When using DecodeWithError with a different MinLength the sanity check will fail, had to look at the actual code to figure out why that is happening because the comment said that MinLength has no effect, which is not correct.

The PR fixes the comments and mentions the sanity check which is done by the functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant