diff --git a/internals/src/array_vec.rs b/internals/src/array_vec.rs index bd4954aac..76d0490d5 100644 --- a/internals/src/array_vec.rs +++ b/internals/src/array_vec.rs @@ -25,7 +25,7 @@ mod safety_boundary { /// Constructs an empty `ArrayVec`. pub const fn new() -> Self { Self { len: 0, data: [MaybeUninit::uninit(); CAP] } } - /// Constructs a new `ArrayVec` initialized with the contets of `slice`. + /// Constructs a new `ArrayVec` initialized with the contents of `slice`. /// /// # Panics /// diff --git a/units/src/amount/result.rs b/units/src/amount/result.rs index 724230833..e229a02c7 100644 --- a/units/src/amount/result.rs +++ b/units/src/amount/result.rs @@ -11,7 +11,7 @@ use super::{Amount, SignedAmount}; /// Result of an operation on [`Amount`] or [`SignedAmount`]. /// -/// The type parameter `T` should be normally `Amout` or `SignedAmount`. +/// The type parameter `T` should be normally `Amount` or `SignedAmount`. #[derive(Debug, Copy, Clone, PartialEq, Eq)] #[must_use] pub enum NumOpResult {