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.
use vcell::VolatileCell
::vcell::VolatileCell
1 parent ef2d9c2 commit f3f4d66Copy full SHA for f3f4d66
src/generate/peripheral.rs
@@ -97,8 +97,6 @@ pub fn render(
97
out.push(quote! {
98
#[doc = #description]
99
pub mod #name_sc {
100
- use vcell::VolatileCell;
101
-
102
#(#mod_items)*
103
}
104
});
@@ -401,9 +399,6 @@ fn cluster_block(
401
399
/// Register block
402
400
403
404
- #[allow(unused_imports)]
405
406
407
408
409
})
src/generate/register.rs
@@ -186,7 +186,7 @@ pub fn render(
186
187
188
pub struct #name_pc {
189
- register: VolatileCell<#rty>
+ register: ::vcell::VolatileCell<#rty>
190
191
192
0 commit comments