pub fn str_to_i32(a: &str) -> i32
Parse &str
to
i32
rustils::parse::int::str_to_i32("-2147483649");
rustils::parse::int::str_to_i32("2147483648");
use rustils::parse::int::str_to_i32;
assert_eq!(str_to_i32("-2147483648"), -2147483648_i32);
assert_eq!(str_to_i32("2147483647"), 2147483647_i32);