-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More validation and # Errors
entries
#3074
Conversation
f76e5ef
to
48d1182
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if you're looking for review feedback now, but I guess you're gunna get it :D.
In general the approach looks sound. I think that we should document the specific variants that can be returned (this should be possible with rustdoc). We should probably mark the tolerance bits as unstable for now, just so we can give it some time to soak in. Finally, tests plz :D.
eb58aff
to
b617592
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some formatting nitpicks
61bfe35
to
440cadc
Compare
440cadc
to
1f078db
Compare
1f078db
to
c1e6ab6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! This is looking good, most of my comments are related to the wording or layout, the validation code itself is looking solid!
unstable: macro -> feat
053c5ce
to
c361e94
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Introduces more validation for SPI and UART, allows setting baudrate tolerance for UART config, adds more
# Errors
entriescloses #2839