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
use core::str::FromStr;

use super::Currency;

impl TryFrom<&str> for Currency
{
	type Error = <Self as FromStr>::Err;

	fn try_from(s: &str) -> Result<Self, Self::Error>
	{
		s.parse()
	}
}