Skip to content

Commit f3f4d66

Browse files
committed
Don't use vcell::VolatileCell, use ::vcell::VolatileCell
1 parent ef2d9c2 commit f3f4d66

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/generate/peripheral.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ pub fn render(
9797
out.push(quote! {
9898
#[doc = #description]
9999
pub mod #name_sc {
100-
use vcell::VolatileCell;
101-
102100
#(#mod_items)*
103101
}
104102
});
@@ -401,9 +399,6 @@ fn cluster_block(
401399
/// Register block
402400
#[doc = #description]
403401
pub mod #name_sc {
404-
#[allow(unused_imports)]
405-
use vcell::VolatileCell;
406-
407402
#(#mod_items)*
408403
}
409404
})

src/generate/register.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ pub fn render(
186186
out.push(quote! {
187187
#[doc = #description]
188188
pub struct #name_pc {
189-
register: VolatileCell<#rty>
189+
register: ::vcell::VolatileCell<#rty>
190190
}
191191

192192
#[doc = #description]

0 commit comments

Comments
 (0)