Content-Length: 301119 | pFad | https://github.com/stm32-rs/stm32-rs/pull/727

4C Use PascalCase for values of enums by burrbull · Pull Request #727 · stm32-rs/stm32-rs · GitHub
Skip to content

Use PascalCase for values of enums #727

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

Merged
merged 1 commit into from
May 3, 2022
Merged

Use PascalCase for values of enums #727

merged 1 commit into from
May 3, 2022

Conversation

burrbull
Copy link
Member

@burrbull burrbull commented Apr 26, 2022

related feature in svd2rust
rust-embedded/svd2rust#591

@github-actions
Copy link

Memory map comparison

Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

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

Nice, sounds good.

bors r+

@adamgreig
Copy link
Member

Oops, still draft.

bors r-

@bors
Copy link
Contributor

bors bot commented Apr 27, 2022

Canceled.

@burrbull burrbull marked this pull request as ready for review April 27, 2022 19:24
@burrbull
Copy link
Member Author

This is breaking change.
I wanted to discuss it at meeting, but forgot.

@adamgreig
Copy link
Member

I think this is fine, the enums are much nicer in pascal case and I don't think many people match on them directly anyway; in any event it's a straightforward mechanical change.

bors r+

@bors
Copy link
Contributor

bors bot commented May 3, 2022

Build succeeded:

@bors bors bot merged commit 9e1d4f7 into stm32-rs:master May 3, 2022
@burrbull burrbull deleted the pc_enums branch August 14, 2022 08:43
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.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/stm32-rs/stm32-rs/pull/727

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy