Skip to content
Snippets Groups Projects
Select Git revision
  • a6c5a03ad37e724e2657ead025189499014017ad
  • master default protected
  • wip
3 results

allocator.rs

Blame
  • call2.rs 135 B
    fn f(x: i32, y: i32) -> i32 {
        3 + 5 + x + y
    }
    
    fn main() -> i32 {
        let a = 1;
        let b = 2;
        f(a, a + b) // call by value
    }