diff --git a/units/src/amount/signed.rs b/units/src/amount/signed.rs index 3c9df7f60..2d3846ab5 100644 --- a/units/src/amount/signed.rs +++ b/units/src/amount/signed.rs @@ -297,8 +297,6 @@ impl SignedAmount { self.display_in(denom).show_denomination().to_string() } - // Some arithmetic that doesn't fit in [`core::ops`] traits. - /// Gets the absolute value of this [`SignedAmount`]. #[must_use] pub fn abs(self) -> SignedAmount { SignedAmount(self.0.abs()) } diff --git a/units/src/amount/unsigned.rs b/units/src/amount/unsigned.rs index 9ee8d8cc0..db7017792 100644 --- a/units/src/amount/unsigned.rs +++ b/units/src/amount/unsigned.rs @@ -298,8 +298,6 @@ impl Amount { self.display_in(denom).show_denomination().to_string() } - // Some arithmetic that doesn't fit in [`core::ops`] traits. - /// Checked addition. /// /// Returns [`None`] if the sum is larger than [`Amount::MAX`].