Open dr-orlovsky opened 3 years ago
Hi,
It can be something like this?
`impl ::core::str::FromStr for $name {
fn from_str(s: &str) -> Result<Self, Self::Err> { let splitted = s.split("0x"); let inner_big_int: Vec<u64> = splitted.map(|x| format!("0x{}", x)). map(|x| x.parse::<u64>().unwrap()). collect(); let inner_big_int_array = inner_big_int.try_into().unwrap(); Ok(Self(inner_big_int_array)) } }`
Thank you for grabbing the issue! Commenting in the PR itself
Hi,
It can be something like this?
`impl ::core::str::FromStr for $name {
[inline]