money2 1.4.0

For storing and asynchronously converting between (a subset of) ISO-4217 currencies
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use num_traits::CheckedSub;

use super::Money;

impl CheckedSub for Money
{
	/// # See also
	///
	/// * [`CheckedSub::checked_sub`]
	/// * [`Money::checked_sub`]
	fn checked_sub(&self, rhs: &Self) -> Option<Self>
	{
		Self::checked_sub(*self, *rhs)
	}
}