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
use core::fmt::{Display, Formatter, Result};

use super::Money;

impl Display for Money
{
	fn fmt(&self, formatter: &mut Formatter) -> Result
	{
		write!(formatter, "{} {}", self.amount, self.currency)
	}
}