We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f58d110 commit 221d25bCopy full SHA for 221d25b
src/generate/peripheral.rs
@@ -58,7 +58,7 @@ pub fn render(
58
};
59
60
match p_original {
61
- p @ Peripheral::Array(_, dim) if !config.const_generic => {
+ Peripheral::Array(p, dim) if !config.const_generic => {
62
let names: Vec<Cow<str>> = names(p, dim).map(|n| n.into()).collect();
63
let names_str = names.iter().map(|n| n.to_sanitized_upper_case());
64
let names_pc = names_str.clone().map(|n| Ident::new(&n, span));
0 commit comments