Skip to main content

fastnum/bint/uint/impls/
from_str.rs

1use core::str::FromStr;
2
3use crate::bint::{ParseError, UInt};
4
5impl<const N: usize> FromStr for UInt<N> {
6    type Err = ParseError;
7
8    #[inline]
9    fn from_str(s: &str) -> Result<Self, ParseError> {
10        UInt::from_str(s)
11    }
12}