Task

Increment a numerical string.




fn next_string(input: &str) -> String {
    (input.parse::<i64>().unwrap() + 1).to_string()
}
 
fn main() {
    let s = "-1";
    let s2 = next_string(s);
    println!("{:?}", s2);
}