Skip to content
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

Remove unnecessary prefixes/suffixes from Error and TxEvent enums #2898

Merged
merged 6 commits into from
Jan 7, 2025

Conversation

JurajSadel
Copy link
Contributor

As discovered in #2893 (review)

@JurajSadel JurajSadel added the skip-changelog No changelog modification needed label Jan 7, 2025
esp-hal/src/uart.rs Outdated Show resolved Hide resolved
esp-hal/src/uart.rs Outdated Show resolved Hide resolved
@bjoernQ
Copy link
Contributor

bjoernQ commented Jan 7, 2025

Seems like we have an inconsistent word order for the errors: https://rust-lang.github.io/api-guidelines/naming.html#names-use-a-consistent-word-order-c-word-order

esp-hal/src/uart.rs Outdated Show resolved Hide resolved
esp-hal/src/uart.rs Outdated Show resolved Hide resolved
esp-hal/src/uart.rs Outdated Show resolved Hide resolved
Copy link
Member

@SergioGasquez SergioGasquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@bjoernQ bjoernQ added this pull request to the merge queue Jan 7, 2025
Merged via the queue into esp-rs:main with commit f1276f7 Jan 7, 2025
26 of 28 checks passed
@JurajSadel JurajSadel deleted the uart-enums branch January 8, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants