docs: Remove link from self

When we move `SignedAmount` to a submodule linking to `self` introduces
a clippy warning, I'm not exactly sure why but lets remove the link in
preparation for the move.
This commit is contained in:
Tobin C. Harding 2024-10-31 12:54:39 +11:00
parent 13f9fd1b77
commit 0fc0e8760b
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -800,7 +800,7 @@ impl SignedAmount {
/// Subtraction that doesn't allow negative [`SignedAmount`]s.
///
/// Returns [`None`] if either [`self`], `rhs` or the result is strictly negative.
/// Returns [`None`] if either `self`, `rhs` or the result is strictly negative.
pub fn positive_sub(self, rhs: SignedAmount) -> Option<SignedAmount> {
if self.is_negative() || rhs.is_negative() || rhs > self {
None