From 34ed3441ce4924be4b637fb86ee4aa003dcc0e8d Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 8 Sep 2022 17:01:45 +0200 Subject: Fix typo in peripheral.rs --- embassy-hal-common/src/peripheral.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embassy-hal-common') diff --git a/embassy-hal-common/src/peripheral.rs b/embassy-hal-common/src/peripheral.rs index 038cebb5..f507468f 100644 --- a/embassy-hal-common/src/peripheral.rs +++ b/embassy-hal-common/src/peripheral.rs @@ -6,7 +6,7 @@ use core::ops::{Deref, DerefMut}; /// This is functionally the same as a `&'a mut T`. The reason for having a /// dedicated struct is memory efficiency: /// -/// Peripheral singletons are typically either zero-sized (for concrete peripehrals +/// Peripheral singletons are typically either zero-sized (for concrete peripherals /// like `PA9` or `Spi4`) or very small (for example `AnyPin` which is 1 byte). /// However `&mut T` is always 4 bytes for 32-bit targets, even if T is zero-sized. /// PeripheralRef stores a copy of `T` instead, so it's the same size. -- cgit v1.2.3