c2rust-refactor 0.15.0

C2Rust refactoring tool implementation
1
2
3
4
5
6
7
8
9
10
11

fn f() -> i32 {
    1
}

fn main() {
    5.wrapping_add({
        println!("1 + 1 = {}", f(/*comment*/).wrapping_add(f()));
        5
    });
}