Skip to content

Commit 0327184

Browse files
committed
Remove unnecessary parentheses
1 parent cad142a commit 0327184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/usb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ unsafe impl UsbPeripheral for Peripheral {
3030
const EP_MEMORY_SIZE: usize = 1024;
3131

3232
fn enable() {
33-
let rcc = unsafe { (&*RCC::ptr()) };
33+
let rcc = unsafe { &*RCC::ptr() };
3434

3535
cortex_m::interrupt::free(|_| {
3636
// Enable USB peripheral

0 commit comments

Comments
 (0)