day 16 @rust cライクなポインタ操作

fn main() {
    let mut num= 10;
    let num_ref = &mut num;
    add_five(num_ref);
    println!("{}",num);
}

fn add_five(ref_int: &mut i32) {
    *ref_int = *ref_int + 5;
}