Before this PR de::from_str would panic when trying to parse out of bound integers. Now it returns an error. (It would be nicer if it would parse the numbers successfully, e.g. as floats or big integers. But returning an error is definitely better than panicking.)
Please let me know if I broke any coding conventions.
Before this PR
de::from_str
would panic when trying to parse out of bound integers. Now it returns an error. (It would be nicer if it would parse the numbers successfully, e.g. as floats or big integers. But returning an error is definitely better than panicking.)Please let me know if I broke any coding conventions.