Browse Source
The imports in most files appear to have been incompletely converted from edition 2015 to edition 2018, with duplicates and repeated prefixes. Additionally, some crate attributes were set separately when they could have been set jointly. This change cleans up imports and consolidates crate attributes. Some import sections have been annotated `#[rustfmt::skip]` and manually formatted for readability.pull/26/head

19 changed files with 130 additions and 131 deletions
@ -1,6 +1,9 @@
|
||||
//! Prelude
|
||||
|
||||
pub use crate::gpio::GpioExt as _tm4c123x_hal_gpio_GpioExt; |
||||
pub use crate::hal::prelude::*; |
||||
pub use crate::sysctl::SysctlExt; |
||||
pub use crate::time::U32Ext; |
||||
#[rustfmt::skip] |
||||
pub use crate::{ |
||||
gpio::GpioExt as _, |
||||
hal::prelude::*, |
||||
sysctl::SysctlExt, |
||||
time::U32Ext, |
||||
}; |
||||
|
@ -1,6 +1,9 @@
|
||||
//! Prelude
|
||||
|
||||
pub use crate::gpio::GpioExt as _tm4c129x_hal_gpio_GpioExt; |
||||
pub use crate::hal::prelude::*; |
||||
pub use crate::sysctl::SysctlExt; |
||||
pub use crate::time::U32Ext; |
||||
#[rustfmt::skip] |
||||
pub use crate::{ |
||||
gpio::GpioExt as _, |
||||
hal::prelude::*, |
||||
sysctl::SysctlExt, |
||||
time::U32Ext, |
||||
}; |
||||
|
Loading…
Reference in new issue