Skip to content

Commit 90a8c3c

Browse files
James Munnshannobraun
authored andcommitted
Cargo fmt
1 parent 8784790 commit 90a8c3c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

nrf52-hal-common/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ pub(crate) fn slice_in_ram_or<T>(slice: &[u8], err: T) -> Result<(), T> {
7171
}
7272
}
7373

74-
7574
/// A handy structure for converting rust slices into ptr and len pairs
7675
/// for use with EasyDMA. Care must be taken to make sure mutability
7776
/// guarantees are respected

nrf52-hal-common/src/twim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ use crate::target::TWIM1;
1818

1919
use crate::{
2020
gpio::{Floating, Input, Pin},
21-
target_constants::EASY_DMA_SIZE,
2221
slice_in_ram_or,
22+
target_constants::EASY_DMA_SIZE,
2323
};
2424

2525
pub use twim0::frequency::FREQUENCYW as Frequency;

nrf52-hal-common/src/uarte.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ use crate::target::{uarte0, UARTE0};
2121

2222
use crate::gpio::{Floating, Input, Output, Pin, PushPull};
2323
use crate::prelude::*;
24+
use crate::slice_in_ram_or;
2425
use crate::target_constants::EASY_DMA_SIZE;
2526
use crate::timer::{self, Timer};
26-
use crate::slice_in_ram_or;
2727

2828
// Re-export SVD variants to allow user to directly set values
2929
pub use uarte0::{baudrate::BAUDRATEW as Baudrate, config::PARITYW as Parity};

0 commit comments

Comments
 (0)