aboutsummaryrefslogtreecommitdiff
path: root/src/itm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/itm.rs')
-rw-r--r--src/itm.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/itm.rs b/src/itm.rs
index 32d3caf..f4acdb9 100644
--- a/src/itm.rs
+++ b/src/itm.rs
@@ -140,9 +140,7 @@ pub fn write_all(port: &mut Stim, buffer: &[u8]) {
/// ```
#[allow(clippy::missing_inline_in_public_items)]
pub fn write_aligned(port: &mut Stim, buffer: &Aligned<[u8]>) {
- unsafe {
- write_aligned_impl(port, &buffer.0)
- }
+ unsafe { write_aligned_impl(port, &buffer.0) }
}
/// Writes `fmt::Arguments` to the ITM `port`