Skip to content

Commit

Permalink
Merge pull request #74 from Sh3Rm4n/extern
Browse files Browse the repository at this point in the history
Remove "extern crate" in favor "use"
  • Loading branch information
Sh3Rm4n committed Mar 21, 2020
2 parents 453f4fd + aaaf967 commit 47cb686
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/pwm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#![no_std]
#![no_main]

extern crate panic_semihosting;
use panic_semihosting as _;

use cortex_m_rt::entry;
//use cortex_m_semihosting::hprintln;
Expand Down
2 changes: 1 addition & 1 deletion examples/spi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#![no_std]
#![no_main]

extern crate panic_semihosting;
use panic_semihosting as _;

use stm32f3xx_hal as hal;

Expand Down
2 changes: 1 addition & 1 deletion examples/toggle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#![no_main]
#![no_std]

extern crate panic_semihosting;
use panic_semihosting as _;

use cortex_m_rt::entry;
use stm32f3xx_hal::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion examples/usb_serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#![no_std]
#![no_main]

extern crate panic_semihosting;
use panic_semihosting as _;

use cortex_m::asm::delay;
use cortex_m_rt::entry;
Expand Down

0 comments on commit 47cb686

Please sign in to comment.