Skip to content

Commit 1a64799

Browse files
committed
Apply rustfmt to the usb_serial example
1 parent 9646534 commit 1a64799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/usb_serial.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ extern crate panic_semihosting;
66

77
use cortex_m_rt::entry;
88
use stm32l0xx_hal::usb::{Peripheral, UsbBus};
9-
use stm32l0xx_hal::{prelude::*, pac, rcc};
9+
use stm32l0xx_hal::{pac, prelude::*, rcc};
1010
use usb_device::prelude::*;
1111
use usbd_serial::{SerialPort, USB_CLASS_CDC};
1212

1313
#[entry]
1414
fn main() -> ! {
1515
let dp = pac::Peripherals::take().unwrap();
1616

17-
let mut rcc = dp.RCC.freeze(rcc::Config::hsi16());
17+
let mut rcc = dp.RCC.freeze(rcc::Config::hsi16());
1818

1919
let gpioa = dp.GPIOA.split(&mut rcc);
2020

0 commit comments

Comments
 (0)