MCPcopy Create free account
hub / github.com/Apress/beginning-rust-2e / func

Function func

Source Code/23-15.rs:9–11  ·  view source on GitHub ↗
(_m1: &i32, _m2: &i32)

Source from the content-addressed store, hash-verified

7 {
8 let n2 = 12;
9 fn func(_m1: &i32, _m2: &i32) -> &i32 {
10 _m2
11 }
12 result = func(&n1, &n2);
13 }
14 print!("{}", *result);

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected