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

Function func

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

Source from the content-addressed store, hash-verified

6 {
7 let n2 = 12;
8 fn func<'a>(_m1: &'a i32, _m2: &i32) -> &'a 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