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 e44c8d0 commit bc2e3f8Copy full SHA for bc2e3f8
src/generate/interrupt.rs
@@ -67,7 +67,7 @@ pub fn render(
67
.unwrap_or_else(|| interrupt.0.name.clone())
68
);
69
70
- let value = util::unsuffixed(interrupt.0.value.into());
+ let value = util::unsuffixed(interrupt.0.value);
71
72
let mut feature_attribute_flag = false;
73
let mut feature_attribute = TokenStream::new();
@@ -111,7 +111,7 @@ pub fn render(
111
names_cfg_attr.push(feature_attribute);
112
}
113
114
- let n = util::unsuffixed(pos.into());
+ let n = util::unsuffixed(pos);
115
match target {
116
Target::CortexM => {
117
for name in &names {
0 commit comments