Skip to content
Snippets Groups Projects
Select Git revision
  • d396da59502ef67f624bb4d8927ff8697232f66c
  • master default
  • claim_mut_new
  • nested_resources
  • test_roread
  • noread
  • v0.2.0
  • v0.1.1
  • v0.1.0
9 results

full-syntax.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
    }