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

Function func

Source Code/23-14.rs:8–10  ·  view source on GitHub ↗
(_m1: &i32, _m2: &i32)

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected