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

riot-rs-embassy: define_peripherals: fix type alias, allow non_camel_… #55

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

kaspar030
Copy link
Collaborator

…case_types

This PR fixes setting a type alias like here.

Previously:

error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
  --> src/riot-rs-embassy/src/define_peripherals.rs:37:14
   |
37 |           $($($(
   |  ______________^
38 | |             #[allow(missing_docs)]
39 | |             pub type $peripheral_alias = peripherals::$peripheral_field;
40 | |         )?)*)*
   | |_________^

... and some non_camel_case linter warnings.

@kaspar030 kaspar030 merged commit 117faa6 into main Jan 23, 2024
10 checks passed
@kaspar030 kaspar030 deleted the define_resources_fix branch January 23, 2024 10:49
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