Skip to content

Commit e396cb5

Browse files
committed
Silence unused clippy warning
1 parent df70a91 commit e396cb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rcc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ pub struct BDCR {
351351
}
352352

353353
impl BDCR {
354+
#[allow(unused)]
354355
pub(crate) fn bdcr(&mut self) -> &rcc::BDCR {
355356
// NOTE(unsafe) this proxy grants exclusive access to this register
356357
unsafe { &(*RCC::ptr()).bdcr }

0 commit comments

Comments
 (0)