Skip to content

Commit 64856ee

Browse files
committed
fix clippy for example
1 parent da2eace commit 64856ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/can.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use hal::pac;
1313
use hal::prelude::*;
1414
use hal::watchdog::IndependentWatchDog;
1515

16-
use bxcan::filter::{Mask16, Mask32};
16+
use bxcan::filter::Mask32;
1717
use bxcan::{Frame, StandardId};
1818
use hal::can::Can;
1919
use nb::block;
@@ -31,7 +31,7 @@ fn main() -> ! {
3131
let mut gpiob = dp.GPIOB.split(&mut rcc.ahb);
3232
let mut gpioa = dp.GPIOA.split(&mut rcc.ahb);
3333

34-
let clocks = rcc
34+
let _clocks = rcc
3535
.cfgr
3636
.use_hse(32u32.MHz())
3737
.sysclk(64u32.MHz())

0 commit comments

Comments
 (0)