"Andreas Hindborg" <a.hindborg@xxxxxxxxxx> writes: > Add the trait `ParseInt` for parsing string representations of integers > where the string representations are optionally prefixed by a radix > specifier. Implement the trait for the primitive integer types. > > Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx> > --- There is a bug in `ParseInt::from_str` that prevents parsing the string "0" to zero. Will fix for next version. Best regards, Andreas Hindborg