Remove unnecessary floating code comment

Code comments that comment and arbitrary block "section" of code are
almost always pointless and almost always go stale over time.

These particular code comments add almost no value.

Remove code comments.
This commit is contained in:
Tobin C. Harding 2024-12-27 11:28:51 +11:00
parent dacf75594e
commit 2e482f0fdd
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
2 changed files with 0 additions and 4 deletions

View File

@ -288,8 +288,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()) }

View File

@ -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`].