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

Function g

Source Code/23-17.rs:7–7  ·  view source on GitHub ↗
(m: &'a u8)

Source from the content-addressed store, hash-verified

5fn main() {
6 fn f(n: &u8) -> &'static u8 { n }
7 fn g<'a>(m: &'a u8) -> &'static u8 { m }
8}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected